Browse Source

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

pull/2504/head
nodiscc 6 months ago
parent
commit
8682679816
No known key found for this signature in database GPG Key ID: 61B23168A539DBBD
  1. 3
      .travis.yml

3
.travis.yml

@ -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:

Loading…
Cancel
Save