Alex Eagle 7e581dab5f ci: remove travis e2e_2 job (#22810)
The only remaining test can run in the first e2e travis shard.
This also removes the last thing needing bazel available on Travis.

PR Close #22810
2018-04-13 16:30:50 -07:00

47 lines
939 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
# If the previous commands in the `script` section of .travis.yaml failed, then abort.
# The variable is not set in early stages of the build, so we default to 0 there.
# https://docs.travis-ci.com/user/environment-variables/
if [[ ${TRAVIS_TEST_RESULT=0} == 1 ]]; then
exit 1;
fi
case ${CI_MODE} in
js)
${thisDir}/test-js.sh
;;
e2e)
${thisDir}/test-e2e.sh
;;
saucelabs_required)
${thisDir}/test-saucelabs.sh
;;
browserstack_required)
${thisDir}/test-browserstack.sh
;;
saucelabs_optional)
${thisDir}/test-saucelabs.sh
;;
browserstack_optional)
${thisDir}/test-browserstack.sh
;;
aio_tools_test)
${thisDir}/test-aio-tools.sh
;;
aio)
${thisDir}/test-aio.sh
;;
aio_e2e)
${thisDir}/test-aio-e2e.sh
;;
esac