From c36ad9a92412098828dedc2873b71c6c1d4e485a Mon Sep 17 00:00:00 2001 From: jab Date: Mon, 18 Nov 2019 01:59:32 +0000 Subject: [PATCH] ditch Travis "deploy-if-tags" stage will only tag a revision if all jobs passed --- .travis.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 06b534a..59c319b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -149,21 +149,16 @@ matrix: ### - env: 'TASK=test-windows-cpython-3.x' ### os: 'windows' - - stage: 'deploy-if-tag' - env: 'TASK=deploy-if-tag' - before_install: 'skip' - install: 'skip' - script: 'skip' - deploy: - - provider: 'pypi' - user: 'jab' - password: - secure: 'B9LLgXkTbtjeC/IbH4wh9PEBzvKEAuYo3EBNW5f1xuLqVqtsysIyxJa5ar/FQ4qwUCBwZPFAXFurN3lLzRhb2Tc04YQ0GYVv6f8lkzwrjoWau4iB9Qt/nnvdRa7KryEJvtenHCAnwoEUaADCjkZjwo6fIA0hEOLB6/AYfhfgXYA=' - 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' +deploy: + - provider: 'pypi' + user: 'jab' + password: + secure: 'B9LLgXkTbtjeC/IbH4wh9PEBzvKEAuYo3EBNW5f1xuLqVqtsysIyxJa5ar/FQ4qwUCBwZPFAXFurN3lLzRhb2Tc04YQ0GYVv6f8lkzwrjoWau4iB9Qt/nnvdRa7KryEJvtenHCAnwoEUaADCjkZjwo6fIA0hEOLB6/AYfhfgXYA=' + 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: