mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2026-04-29 04:11:43 +01:00
5d74221656
added username/password for pip deploy, This closes #41
65 lines
2.1 KiB
YAML
65 lines
2.1 KiB
YAML
# -*- coding: utf-8 -*-
|
|
#
|
|
# Copyright (C) 2020 mojib wali.
|
|
#
|
|
# invenio-theme-tugraz is free software; you can redistribute it and/or
|
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
|
# details.
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
sudo: false
|
|
|
|
language: python
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
# To allow failures, you need to specify the full environment
|
|
- env: REQUIREMENTS=devel
|
|
|
|
cache:
|
|
- pip
|
|
|
|
env:
|
|
- REQUIREMENTS=lowest
|
|
- REQUIREMENTS=release DEPLOY=true
|
|
- REQUIREMENTS=devel
|
|
|
|
python:
|
|
- "3.6"
|
|
- "3.7"
|
|
|
|
before_install:
|
|
- "nvm install 6; nvm use 6"
|
|
- "travis_retry pip install --upgrade pip setuptools py"
|
|
- "travis_retry pip install twine wheel coveralls requirements-builder"
|
|
- "requirements-builder -e all --level=min setup.py > .travis-lowest-requirements.txt"
|
|
- "requirements-builder -e all --level=pypi setup.py > .travis-release-requirements.txt"
|
|
- "requirements-builder -e all --level=dev --req requirements-devel.txt setup.py > .travis-devel-requirements.txt"
|
|
|
|
install:
|
|
- "travis_retry pip install -r .travis-${REQUIREMENTS}-requirements.txt"
|
|
- "travis_retry pip install -e .[all]"
|
|
|
|
script:
|
|
- "./run-tests.sh"
|
|
|
|
after_success:
|
|
- coveralls
|
|
|
|
deploy:
|
|
skip_cleanup: true
|
|
skip_existing: true
|
|
provider: pypi
|
|
username: __token__
|
|
password:
|
|
secure: liNULZujbc8nScZRlDiGu5YxnCaiWZ+LJ4IyYJvC5+rZjl5dr/cf1t7STgrN7SckP/7jGO4mJjClroDG3mj/a8y4tA32XSupeRQClDeETuUcOoTvagZnHBPQ8bVOrYUeH0IEpBvGLcBIrt3WEh0ZolP+KOHhrbbkV00hleqlcN78RB1rPEP+zKVOYftzPiaRZJFl338K6Jf4AIoZPaUZNK5HdNBa5cv29VYwJkw+SeOy50duAAaDVQQsXXonIBtzcI9tLqKMbBhiSguHBt+AaKsGeK96n2LwRhBevFtc3iz1bPhJkUxrzsW+6gp1uzHUHgknotM3HPnR1wD+uKU3fc+j7xA4db/tTJpOCBae3Wzmxd13OZx0qLOUaYr5z/Drd+bPRJM9UMmaPtQGTn+kz13ATPvKEGgRzjmWEOrvrnuX9JLVux7zV9sfpfqritxtdfYGzHchw41Kfk8OFLPFTRPO1KE0Nr9CGzV6THSqR6n4AyteZ2VT0sU3w25bQu6obKTvxFq+tdcaHOeZoCCJYJzGwRdkrrWQl+joWJQ8AssOlv3vrmzPWuAWhPjcm2cK9MVTu/LMM1vvUr0vqn58GDylNYyifJFUitZQ7ReWb5GzzgwpcyDYfEK1bOUD00l2kEvrUL1lA64FLCSSjZeBCcnxMq/+odzNfOkXWLk34Ek=
|
|
distributions: sdist bdist_wheel
|
|
on:
|
|
tags: true
|
|
python: "3.6"
|
|
repo: mb-wali/invenio-theme-tugraz
|
|
condition: $DEPLOY = true
|