0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Added cron handling for travis (#10412)

no issue
This commit is contained in:
Katharina Irrgang 2019-01-22 18:31:07 +01:00 committed by GitHub
parent 75fbd272c9
commit 7ec9dda30c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,13 @@ install:
- yarn
- if [ "$DB" == "sqlite3" ]; then yarn add --force sqlite3; fi # fix sqlite caching issues
script: |
if [ "${TRAVIS_EVENT_TYPE}" = "cron" ]; then
yarn test:regression
else
yarn test
fi
after_success:
- |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then