Skip to content

Commit

Permalink
add if statement on deploy stage
Browse files Browse the repository at this point in the history
  • Loading branch information
splashx committed Oct 22, 2019
1 parent 0849aa6 commit 27c0563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ after_script:
jobs:
include:
- stage: deploy
script: skip
deploy:
provider: pypi
user: $PYPI_USERNAME
password: $PYPI_PASSWORD
on:
tags: true
if: tag =~ ^[0-9]+\.[0-9]+\.[0-9]+ # match semver

after_success:
- coveralls

0 comments on commit 27c0563

Please sign in to comment.