Skip deploy job on Travis if we are not on a tag

This commit is contained in:
Bruno Oliveira
2018-07-21 18:17:21 -03:00
parent 06593498cd
commit 9ff6fc10d0

View File

@@ -25,6 +25,11 @@ env:
install: pip install tox setuptools_scm install: pip install tox setuptools_scm
script: tox script: tox
stages:
- test
- name: deploy
if: repo = pytest-dev/pytest-xdist AND tag IS present
jobs: jobs:
include: include:
- stage: test - stage: test