ci(aio): move e2e tests to non-optional job

This essentially reverts #20178, since the flakes should be gone after
pinning ChromeDriver and Chrome versions to 2.32 and 59 respectively.
This commit is contained in:
George Kalpakas 2017-11-15 13:30:39 +02:00 committed by Alex Rickabaugh
parent b4db2e25d6
commit b89e7c2cb7
5 changed files with 8 additions and 27 deletions

View File

@ -54,7 +54,6 @@ env:
- CI_MODE=browserstack_optional
- CI_MODE=aio_tools_test
- CI_MODE=aio
- CI_MODE=aio_optional
- CI_MODE=aio_e2e AIO_SHARD=0
- CI_MODE=aio_e2e AIO_SHARD=1
- CI_MODE=bazel
@ -64,7 +63,6 @@ matrix:
allow_failures:
- env: "CI_MODE=saucelabs_optional"
- env: "CI_MODE=browserstack_optional"
- env: "CI_MODE=aio_optional"
before_install:
# source the env.sh script so that the exported variables are available to other scripts later on

View File

@ -50,8 +50,7 @@ travisFoldEnd "bower-install"
if [[ ${TRAVIS} &&
${CI_MODE} == "aio" ||
${CI_MODE} == "aio_e2e" ||
${CI_MODE} == "aio_tools_test" ||
${CI_MODE} == "aio_optional"
${CI_MODE} == "aio_tools_test"
]]; then
# angular.io: Install all yarn dependencies according to angular.io/yarn.lock
travisFoldStart "yarn-install.aio"
@ -84,8 +83,7 @@ if [[ ${TRAVIS} &&
${CI_MODE} == "e2e" ||
${CI_MODE} == "e2e_2" ||
${CI_MODE} == "aio" ||
${CI_MODE} == "aio_e2e" ||
${CI_MODE} == "aio_optional"
${CI_MODE} == "aio_e2e"
]]; then
travisFoldStart "install-chromium"
(

View File

@ -1,18 +0,0 @@
#!/usr/bin/env bash
set -u -e -o pipefail
# Setup environment
readonly thisDir=$(cd $(dirname $0); pwd)
source ${thisDir}/_travis-fold.sh
# run in subshell to avoid polluting cwd
(
cd ${PROJECT_ROOT}/aio
# Run e2e tests
travisFoldStart "test.aio.e2e"
yarn setup
yarn e2e
travisFoldEnd "test.aio.e2e"
)

View File

@ -31,6 +31,12 @@ source ${thisDir}/_travis-fold.sh
travisFoldEnd "test.aio.unit"
# Run e2e tests
travisFoldStart "test.aio.e2e"
yarn e2e
travisFoldEnd "test.aio.e2e"
# Run unit tests for aio/aio-builds-setup
travisFoldStart "test.aio.aio-builds-setup"
./aio-builds-setup/scripts/test.sh

View File

@ -46,9 +46,6 @@ case ${CI_MODE} in
aio_e2e)
${thisDir}/test-aio-e2e.sh
;;
aio_optional)
${thisDir}/test-aio-optional.sh
;;
bazel)
${thisDir}/test-bazel.sh
;;