From 52089a29cd1fa9871ed6df679bd62e5b12597e62 Mon Sep 17 00:00:00 2001 From: Alexander Condello Date: Tue, 26 Dec 2017 17:35:28 -0800 Subject: [PATCH] Move twine install to after_success in .travis.yml --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 04d3b4a0..ec1c7576 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,4 @@ -sudo: false language: python -os: linux env: global: @@ -95,14 +93,14 @@ script: - docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/ci/travis/linux-debug-wheels.sh - docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/ci/travis/linux-build-wheels.sh - ls wheelhouse/ + +after_success: + - pip install twine deploy: - before_deploy: - - pip install twine provider: script script: - twine upload --username $TWINE_USERNAME --password $TWINE_PASSWORD wheelhouse/* skip_cleanup: true on: tags: true - branch: master