Skip deploy stage entirely unless we have a tag

Borrowed from https://github.com/tox-dev/tox/pull/877
This commit is contained in:
Bruno Oliveira 2018-07-07 12:12:07 -03:00
parent f359b50fe5
commit 49e82a4be8
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ language: python
stages:
- linting
- test
- deploy
- name: deploy
if: repo = pytest-dev/pytest AND tag IS present
python:
- '3.6'
install: