mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23: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
|
fi
|
||||||
|
|
||||||
# Ignore travis checking other branches irrelevant to users
|
# Ignore travis checking other branches irrelevant to users
|
||||||
# Apparently Travis considers tag builds as separate branches so we need to
|
if [ "$TRAVIS_BRANCH" == "gh-pages" -o "$TRAVIS_BRANCH" == "gh-pages-dev" -o "$TRAVIS_BRANCH" == "docs" -o "$TRAVIS_BRANCH" == "webpack" -o "$TRAVIS_BRANCH" == "v8" ]; then
|
||||||
# check for that separately
|
echo "deploy.sh: Ignoring push to blacklisted branch"
|
||||||
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"
|
|
||||||
build
|
build
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user