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

pull/2504/head
nodiscc 2021-04-28 19:11:10 +02:00
parent 08f6216dda
commit 8682679816
No known key found for this signature in database
GPG Key ID: 61B23168A539DBBD
1 changed files with 1 additions and 2 deletions

View File

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