From 9bfa431fa47b9d8cc5c6ae1f510d616aa284cb7c Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sun, 11 Jun 2017 09:39:29 -0400 Subject: [PATCH] Only push source strings to transifex if this is master branch --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 434f36907..b74ebb9f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ node_js: - "8" sudo: required after_success: + - if [[ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "master" ]]; then exit 0; fi - pip install virtualenv - virtualenv ~/env - source ~/env/bin/activate