.travis.yml: always run pipeline on master, regardless of whether the job was triggered via cron or manually

- automatic builds on push are still disabled from https://travis-ci.org/github/awesome-selfhosted/awesome-selfhosted/settings
This commit is contained in:
nodiscc 2021-04-18 14:03:20 +02:00
parent eb872d63bb
commit d3177a9684
No known key found for this signature in database
GPG key ID: 61B23168A539DBBD

View file

@ -14,7 +14,7 @@ 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" && "$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: