Skip to content

Commit

Permalink
Move twine install to after_success in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arcondello authored Dec 27, 2017
1 parent c994ae2 commit 52089a2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
sudo: false
language: python
os: linux

env:
global:
Expand Down Expand Up @@ -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

0 comments on commit 52089a2

Please sign in to comment.