Skip to content

Commit

Permalink
Hide deploy job from CI unless commit is tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Sep 13, 2017
1 parent 9d7c28b commit 2d9732d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,12 @@ jobs:
- stage: deploy to PyPI
<<: *_mainstream_python_base
<<: *_reset_steps
# This prevents job from appearing in test plan unless commit is tagged:
if: tag IS present
dist: trusty
group: edge
services:
- docker
before_install:
# This must prevent further job progress
- |
if [ -z "$TRAVIS_TAG" ]
then
echo Not building wheels
exit 0
fi
script:
- ./tools/run_docker.sh "aiohttp"
deploy:
Expand Down

0 comments on commit 2d9732d

Please sign in to comment.