mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-22 05:26:09 +03:00
Add condition to trigger build on tags
This commit is contained in:
parent
8ee8f39155
commit
1879b82e84
11
.travis.yml
11
.travis.yml
|
@ -54,7 +54,16 @@ jobs:
|
|||
env: TOXENV=pypy3
|
||||
install: pip install tox
|
||||
script: tox
|
||||
- python: 3.8
|
||||
if: tag IS present
|
||||
install:
|
||||
- pip install pip --upgrade
|
||||
- pip install twine --upgrade
|
||||
script:
|
||||
- python setup.py sdist
|
||||
- twine upload dist/*
|
||||
- services: docker
|
||||
if: tag IS present
|
||||
env: TWINE_USERNAME=__token__
|
||||
install: python3 -m pip install cibuildwheel==1.5.1
|
||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||
|
@ -65,6 +74,7 @@ jobs:
|
|||
python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
||||
fi
|
||||
- os: osx
|
||||
if: tag IS present
|
||||
language: shell
|
||||
env: TWINE_USERNAME=__token__
|
||||
install: python3 -m pip install cibuildwheel==1.5.1
|
||||
|
@ -76,6 +86,7 @@ jobs:
|
|||
python3 -m twine upload --repository testpypi wheelhouse/*.whl
|
||||
fi
|
||||
- os: windows
|
||||
if: tag IS present
|
||||
language: shell
|
||||
env: TWINE_USERNAME=__token__
|
||||
before_install:
|
||||
|
|
Loading…
Reference in New Issue
Block a user