travis-ci.yml: only run full check suite from travis cron jobs

pull/2504/head
nodiscc 4 years ago
parent 08f6216dda
commit 8682679816
No known key found for this signature in database
GPG Key ID: 61B23168A539DBBD

@ -13,8 +13,7 @@ before_install:
- cd tests && npm install chalk && cd .. - cd tests && npm install chalk && cd ..
script: script:
- 'echo "DEBUG: $TRAVIS_BRANCH - $TRAVIS_EVENT_TYPE - $TRAVIS_PULL_REQUEST"' - 'if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then make check_all; fi'
- 'if [[ "$TRAVIS_BRANCH" == "master" ]]; 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'
notifications: notifications:

Loading…
Cancel
Save