File tree Expand file tree Collapse file tree 5 files changed +37
-8
lines changed Expand file tree Collapse file tree 5 files changed +37
-8
lines changed Original file line number Diff line number Diff line change 5454 - CI_MODE=browserstack_optional
5555 - CI_MODE=aio_tools_test
5656 - CI_MODE=aio
57+ - CI_MODE=aio_optional
5758 - CI_MODE=aio_e2e AIO_SHARD=0
5859 - CI_MODE=aio_e2e AIO_SHARD=1
5960 - CI_MODE=bazel
@@ -63,6 +64,7 @@ matrix:
6364 allow_failures :
6465 - env : " CI_MODE=saucelabs_optional"
6566 - env : " CI_MODE=browserstack_optional"
67+ - env : " CI_MODE=aio_optional"
6668
6769before_install :
6870 # source the env.sh script so that the exported variables are available to other scripts later on
Original file line number Diff line number Diff line change @@ -47,7 +47,12 @@ travisFoldStart "bower-install"
4747travisFoldEnd " bower-install"
4848
4949
50- if [[ ${TRAVIS} && (${CI_MODE} == " aio" || ${CI_MODE} == " aio_e2e" || ${CI_MODE} == " aio_tools_test" ) ]]; then
50+ if [[ ${TRAVIS} &&
51+ ${CI_MODE} == " aio" ||
52+ ${CI_MODE} == " aio_e2e" ||
53+ ${CI_MODE} == " aio_tools_test" ||
54+ ${CI_MODE} == " aio_optional"
55+ ]]; then
5156 # angular.io: Install all yarn dependencies according to angular.io/yarn.lock
5257 travisFoldStart " yarn-install.aio"
5358 (
7479
7580
7681# Install Chromium
77- if [[ ${TRAVIS} && ${CI_MODE} == " js" || ${CI_MODE} == " e2e" || ${CI_MODE} == " e2e_2" || ${CI_MODE} == " aio" || ${CI_MODE} == " aio_e2e" ]]; then
82+ if [[ ${TRAVIS} &&
83+ ${CI_MODE} == " js" ||
84+ ${CI_MODE} == " e2e" ||
85+ ${CI_MODE} == " e2e_2" ||
86+ ${CI_MODE} == " aio" ||
87+ ${CI_MODE} == " aio_e2e" ||
88+ ${CI_MODE} == " aio_optional"
89+ ]]; then
7890 travisFoldStart " install-chromium"
7991 (
8092 ${thisDir} /install-chromium.sh
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -u -e -o pipefail
4+
5+ # Setup environment
6+ readonly thisDir=$( cd $( dirname $0 ) ; pwd)
7+ source ${thisDir} /_travis-fold.sh
8+
9+ # run in subshell to avoid polluting cwd
10+ (
11+ cd ${PROJECT_ROOT} /aio
12+ # Run e2e tests
13+ travisFoldStart " test.aio.e2e"
14+ yarn setup
15+ yarn e2e
16+ travisFoldEnd " test.aio.e2e"
17+
18+ )
Original file line number Diff line number Diff line change @@ -31,12 +31,6 @@ source ${thisDir}/_travis-fold.sh
3131 travisFoldEnd " test.aio.unit"
3232
3333
34- # Run e2e tests
35- travisFoldStart " test.aio.e2e"
36- yarn e2e
37- travisFoldEnd " test.aio.e2e"
38-
39-
4034 # Run unit tests for aio/aio-builds-setup
4135 travisFoldStart " test.aio.aio-builds-setup"
4236 ./aio-builds-setup/scripts/test.sh
Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ case ${CI_MODE} in
4646 aio_e2e)
4747 ${thisDir} /test-aio-e2e.sh
4848 ;;
49+ aio_optional)
50+ ${thisDir} /test-aio-optional.sh
51+ ;;
4952 bazel)
5053 ${thisDir} /test-bazel.sh
5154 ;;
You can’t perform that action at this time.
0 commit comments