chore(project): do not link upstream PRs against master

This commit is contained in:
Nico Rehwaldt 2019-11-19 15:06:18 +01:00 committed by fake-join[bot]
parent ec13d8e7b8
commit e4711a5810
1 changed files with 16 additions and 12 deletions

View File

@ -2,7 +2,12 @@
FEATURE_BRANCH=
if [ "$TRAVIS_TAG" == "" ]; then
# https://docs.travis-ci.com/user/environment-variables
if [ "$TRAVIS_TAG" <> "" ] || [ "$TRAVIS_BRANCH" == "master" ]; then
exit 0;
fi
if [ "$TRAVIS_PULL_REQUEST_BRANCH" != "" ]; then
FEATURE_BRANCH="$TRAVIS_PULL_REQUEST_BRANCH";
else
@ -18,4 +23,3 @@ if [ "$TRAVIS_TAG" == "" ]; then
npm install "diagram-js@bpmn-io/diagram-js#develop";
fi
fi