From 22d75f833206ff02fa90d0d75006d9f4899d9ed2 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Fri, 18 Oct 2019 00:07:28 -0400 Subject: [PATCH] check if tag is present in stage conditional --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 391ff46..ac9c2a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,7 @@ sudo: false cache: false stages: - name: deploy - # require the branch name to be master (note for PRs this is the base branch name) - if: branch = master AND NOT type IN (pull_request) + if: branch = master AND tag IS present before_install: - pip install -U pip