angular-docs-cn/scripts/ci/test-aio-optional.sh

19 lines
322 B
Bash
Executable File

#!/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"
)