From 7ec9dda30cebe72794479a6d77d8b4b11e6af258 Mon Sep 17 00:00:00 2001 From: Katharina Irrgang Date: Tue, 22 Jan 2019 18:31:07 +0100 Subject: [PATCH] Added cron handling for travis (#10412) no issue --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4e846911a8..5aa54c81f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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