From 5ebe8a647d01230993e2ddbfb123d29e3e3b2c70 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 16 Jun 2020 11:05:33 +0200 Subject: [PATCH] MOBILE-3294: Fix travis cron condition --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index bb544ad1b..027044d84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -109,17 +109,17 @@ jobs: name: "End to end tests (mod_forum, mod_messages and mod_comments)" services: - docker - if: env(TRAVIS_EVENT_TYPE) = cron + if: type = cron script: scripts/test_e2e.sh "@app&&@mod_forum" "@app&&@mod_messages" "@app&&@mod_comments" - stage: test name: "End to end tests (mod_data, mod_survey, mod_course, core_course and mod_courses)" services: - docker - if: env(TRAVIS_EVENT_TYPE) = cron + if: type = cron script: scripts/test_e2e.sh "@app&&@mod_data" "@app&&@mod_survey" "@app&&@mod_course" "@app&&@core_course" "@app&&@mod_courses" - stage: test name: "End to end tests (others)" services: - docker - if: env(TRAVIS_EVENT_TYPE) = cron + if: type = cron script: scripts/test_e2e.sh "@app&&~@mod_forum&&~@mod_messages&&~@mod_comments&&~@mod_data&&~@mod_survey&&~@mod_course&&~@core_course&&~@mod_courses"