mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
Make Travis builds run for all but blacklisted branches
This commit is contained in:
parent
9e70d6279f
commit
be19a08575
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue