mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2024-11-26 09:01:35 +01:00
.travis.yml: don't run any build job on pushes to master
This commit is contained in:
parent
3b726df161
commit
9a446c31d5
@ -1,5 +1,9 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
|
branches:
|
||||||
|
except:
|
||||||
|
- master
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- "node"
|
- "node"
|
||||||
|
|
||||||
@ -14,7 +18,6 @@ before_install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- 'echo "DEBUG: $TRAVIS_BRANCH - $TRAVIS_EVENT_TYPE - $TRAVIS_PULL_REQUEST"'
|
- 'echo "DEBUG: $TRAVIS_BRANCH - $TRAVIS_EVENT_TYPE - $TRAVIS_PULL_REQUEST"'
|
||||||
- 'if [ "$TRAVIS_BRANCH" == "master" ]; then make check_syntax_full; fi'
|
|
||||||
- 'if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then make check_all; fi'
|
- 'if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then make check_all; fi'
|
||||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then make check_pr; fi'
|
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then make check_pr; fi'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user