From be19a08575c31048030c8b97822a281ac8d79318 Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Thu, 29 Dec 2016 23:12:40 -0500 Subject: [PATCH] Make Travis builds run for all but blacklisted branches --- deploy/deploy.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/deploy/deploy.sh b/deploy/deploy.sh index cbd644ed9..dabad94b9 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -19,10 +19,8 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then fi # Ignore travis checking other branches irrelevant to users -# Apparently Travis considers tag builds as separate branches so we need to -# check for that separately -if [ "$TRAVIS_BRANCH" != "master" -a "$TRAVIS_BRANCH" != "indev" -a "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ]; then - echo "deploy.sh: Ignoring push to another branch than master/indev" +if [ "$TRAVIS_BRANCH" == "gh-pages" -o "$TRAVIS_BRANCH" == "gh-pages-dev" -o "$TRAVIS_BRANCH" == "docs" -o "$TRAVIS_BRANCH" == "webpack" -o "$TRAVIS_BRANCH" == "v8" ]; then + echo "deploy.sh: Ignoring push to blacklisted branch" build exit 0 fi