ditch Travis "deploy-if-tags" stage

will only tag a revision if all jobs passed
This commit is contained in:
jab 2019-11-18 01:59:32 +00:00
parent 2a873fc5b2
commit c36ad9a924
1 changed files with 10 additions and 15 deletions

View File

@ -149,21 +149,16 @@ matrix:
### - env: 'TASK=test-windows-cpython-3.x' ### - env: 'TASK=test-windows-cpython-3.x'
### os: 'windows' ### os: 'windows'
- stage: 'deploy-if-tag' deploy:
env: 'TASK=deploy-if-tag' - provider: 'pypi'
before_install: 'skip' user: 'jab'
install: 'skip' password:
script: 'skip' secure: 'B9LLgXkTbtjeC/IbH4wh9PEBzvKEAuYo3EBNW5f1xuLqVqtsysIyxJa5ar/FQ4qwUCBwZPFAXFurN3lLzRhb2Tc04YQ0GYVv6f8lkzwrjoWau4iB9Qt/nnvdRa7KryEJvtenHCAnwoEUaADCjkZjwo6fIA0hEOLB6/AYfhfgXYA='
deploy: on:
- provider: 'pypi' tags: true
user: 'jab' # Does this deploy all tags to PyPI, not just release tags?
password: # https://docs.travis-ci.com/user/deployment/pypi/ doesn't say.
secure: 'B9LLgXkTbtjeC/IbH4wh9PEBzvKEAuYo3EBNW5f1xuLqVqtsysIyxJa5ar/FQ4qwUCBwZPFAXFurN3lLzRhb2Tc04YQ0GYVv6f8lkzwrjoWau4iB9Qt/nnvdRa7KryEJvtenHCAnwoEUaADCjkZjwo6fIA0hEOLB6/AYfhfgXYA=' distributions: 'sdist bdist_wheel'
on:
tags: true
# Does this deploy all tags to PyPI, not just release tags?
# https://docs.travis-ci.com/user/deployment/pypi/ doesn't say.
distributions: 'sdist bdist_wheel'
before_cache: before_cache: