MOBILE-3294: Fix travis cron condition

main
Noel De Martin 2020-06-16 11:05:33 +02:00
parent 3eaddc517c
commit 5ebe8a647d
1 changed files with 3 additions and 3 deletions

View File

@ -109,17 +109,17 @@ jobs:
name: "End to end tests (mod_forum, mod_messages and mod_comments)" name: "End to end tests (mod_forum, mod_messages and mod_comments)"
services: services:
- docker - docker
if: env(TRAVIS_EVENT_TYPE) = cron if: type = cron
script: scripts/test_e2e.sh "@app&&@mod_forum" "@app&&@mod_messages" "@app&&@mod_comments" script: scripts/test_e2e.sh "@app&&@mod_forum" "@app&&@mod_messages" "@app&&@mod_comments"
- stage: test - stage: test
name: "End to end tests (mod_data, mod_survey, mod_course, core_course and mod_courses)" name: "End to end tests (mod_data, mod_survey, mod_course, core_course and mod_courses)"
services: services:
- docker - 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" script: scripts/test_e2e.sh "@app&&@mod_data" "@app&&@mod_survey" "@app&&@mod_course" "@app&&@core_course" "@app&&@mod_courses"
- stage: test - stage: test
name: "End to end tests (others)" name: "End to end tests (others)"
services: services:
- docker - 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" script: scripts/test_e2e.sh "@app&&~@mod_forum&&~@mod_messages&&~@mod_comments&&~@mod_data&&~@mod_survey&&~@mod_course&&~@core_course&&~@mod_courses"