Only push source strings to transifex if this is master branch

This commit is contained in:
Bryan Housel
2017-06-11 09:39:29 -04:00
parent 38b20c2584
commit 9bfa431fa4

View File

@@ -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