mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Make Travis builds run for all but blacklisted branches
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user