Merge pull request #248 from YannickJadoul/travis-ci-if-tagged

Remove check for branch of tags in examples/travis-ci-test-and-deploy.yml; fix #246
This commit is contained in:
Yannick Jadoul
2020-01-17 11:00:00 +01:00
committed by GitHub
+5 -3
View File
@@ -28,10 +28,12 @@ script:
stages: stages:
- test - test
# Only execute deployment stage on master branch, tagged commits, # Only execute deployment stage on tagged commits, and from your repository
# and from your repository (e.g. not PRs). Replace with your repo name. # (e.g. not PRs). Replace with your repo name.
- name: deploy - name: deploy
if: branch = master AND tag IS PRESENT AND repo = joerick/cibuildwheel if: tag IS PRESENT AND repo = joerick/cibuildwheel
# To only build tags that look like vX.Y.Z:
# if: tag =~ ^v\d+\.\d+\.\d+$ AND repo = joerick/cibuildwheel
jobs: jobs:
include: include: