mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-23 14:59:08 +03:00
Upgrade travis config
This commit is contained in:
parent
d712e77fea
commit
f0c2636744
33
.travis.yml
33
.travis.yml
|
@ -56,23 +56,20 @@ jobs:
|
||||||
script: tox
|
script: tox
|
||||||
- python: 3.8
|
- python: 3.8
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
install:
|
env: TWINE_USERNAME=__token__
|
||||||
- pip install pip --upgrade
|
install: pip install pip --upgrade
|
||||||
- pip install twine --upgrade
|
script: python setup.py sdist
|
||||||
script:
|
after_success:
|
||||||
- python setup.py sdist
|
- python3 -m pip install twine
|
||||||
- twine upload --repository testpypi dist/*
|
- python3 -m twine upload --repository testpypi dist/*
|
||||||
- services: docker
|
- services: docker
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
env: TWINE_USERNAME=__token__
|
env: TWINE_USERNAME=__token__
|
||||||
install: python3 -m pip install cibuildwheel==1.5.1
|
install: python3 -m pip install cibuildwheel==1.5.1
|
||||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success:
|
after_success:
|
||||||
- |
|
- python3 -m pip install twine
|
||||||
if [[ $TRAVIS_TAG ]]; then
|
- python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
||||||
python3 -m pip install twine
|
|
||||||
python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
|
||||||
fi
|
|
||||||
- os: osx
|
- os: osx
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
language: shell
|
language: shell
|
||||||
|
@ -80,11 +77,8 @@ jobs:
|
||||||
install: python3 -m pip install cibuildwheel==1.5.1
|
install: python3 -m pip install cibuildwheel==1.5.1
|
||||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success:
|
after_success:
|
||||||
- |
|
- python3 -m pip install twine
|
||||||
if [[ $TRAVIS_TAG ]]; then
|
- python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
||||||
python3 -m pip install twine
|
|
||||||
python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
|
||||||
fi
|
|
||||||
- os: windows
|
- os: windows
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
language: shell
|
language: shell
|
||||||
|
@ -95,11 +89,8 @@ jobs:
|
||||||
install: python -m pip install cibuildwheel==1.5.1
|
install: python -m pip install cibuildwheel==1.5.1
|
||||||
script: python -m cibuildwheel --output-dir wheelhouse
|
script: python -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success:
|
after_success:
|
||||||
- |
|
- python -m pip install twine
|
||||||
if [[ $TRAVIS_TAG ]]; then
|
- python -m twine upload --repository testpypi wheelhouse/*.whl
|
||||||
python -m pip install twine
|
|
||||||
python -m twine upload --repository testpypi wheelhouse/*.whl
|
|
||||||
fi
|
|
||||||
notifications:
|
notifications:
|
||||||
slack:
|
slack:
|
||||||
rooms:
|
rooms:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user