ci(aio): move e2e tests to optional job (#20178)

This commit is contained in:
Pete Bacon Darwin
2017-11-06 17:59:59 +00:00
committed by Victor Berchet
parent 8b50ed083c
commit 63d26a1777
5 changed files with 37 additions and 8 deletions

18
scripts/ci/test-aio-optional.sh Executable file
View File

@ -0,0 +1,18 @@
#!/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"
)