From 9871ada04bc52d9a11f4232764aae89d948ed1ee Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Thu, 26 Oct 2017 13:37:29 +0200 Subject: [PATCH] chore(travis): tighten up deploy conditions --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a4d3b139250..d86faa8ea81e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,10 +53,10 @@ notifications: jobs: include: - stage: deploy - # Don't deploy from PRs. + # Don't deploy from PRs and only from our default branches. # This is a Travis-specific boolean language: https://docs.travis-ci.com/user/conditional-builds-stages-jobs#Specifying-conditions # The deployment logic for pushed branches is further defined in scripts\travis\build.sh - if: type != pull_request + if: type != pull_request and branch =~ ^(v1\.\d+\.x|master)$ env: - JOB=deploy before_script: skip