mirror of https://github.com/OpenRCT2/OpenRCT2.git
Make PRs fail when submitted for master branch (#5567)
This commit is contained in:
parent
ff9417f4a6
commit
91075fce41
|
@ -1,6 +1,7 @@
|
|||
language: c
|
||||
|
||||
before_install:
|
||||
- if [[ $TRAVIS_REPO_SLUG == "OpenRCT2/OpenRCT2" ]] && [[ $TRAVIS_PULL_REQUEST != "false" ]] && [[ $TRAVIS_BRANCH == "master" ]]; then echo "Pull requests to master branch are not allowed!" ; exit 1 ; fi
|
||||
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then bash scripts/linux/install.sh; export OPENRCT_MAKE_OPTS="-j2 -k all openrct2-cli" ; fi
|
||||
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then sudo gem install xcpretty-travis-formatter; fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue