Skip deploy stage entirely unless we have a tag
Borrowed from https://github.com/tox-dev/tox/pull/877
This commit is contained in:
parent
f359b50fe5
commit
49e82a4be8
|
@ -3,7 +3,8 @@ language: python
|
||||||
stages:
|
stages:
|
||||||
- linting
|
- linting
|
||||||
- test
|
- test
|
||||||
- deploy
|
- name: deploy
|
||||||
|
if: repo = pytest-dev/pytest AND tag IS present
|
||||||
python:
|
python:
|
||||||
- '3.6'
|
- '3.6'
|
||||||
install:
|
install:
|
||||||
|
|
Loading…
Reference in New Issue