2016-04-28 20:50:03 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-03-02 03:22:24 -05:00
|
|
|
set -u -e -o pipefail
|
2016-04-28 20:50:03 -04:00
|
|
|
|
|
|
|
# Setup environment
|
2017-03-02 03:22:24 -05:00
|
|
|
source ${TRAVIS_BUILD_DIR}/scripts/ci-lite/_travis_fold.sh
|
|
|
|
source ${TRAVIS_BUILD_DIR}/scripts/ci-lite/env.sh
|
2016-04-28 20:50:03 -04:00
|
|
|
|
|
|
|
|
2017-03-02 03:22:24 -05:00
|
|
|
case ${CI_MODE} in
|
|
|
|
js)
|
|
|
|
./scripts/ci-lite/test_js.sh
|
|
|
|
;;
|
|
|
|
e2e)
|
|
|
|
./scripts/ci-lite/test_e2e.sh
|
|
|
|
;;
|
|
|
|
saucelabs_required)
|
|
|
|
./scripts/ci-lite/test_saucelabs.sh
|
|
|
|
;;
|
|
|
|
browserstack_required)
|
|
|
|
./scripts/ci-lite/test_browserstack.sh
|
|
|
|
;;
|
|
|
|
saucelabs_optional)
|
|
|
|
./scripts/ci-lite/test_saucelabs.sh
|
|
|
|
;;
|
|
|
|
browserstack_optional)
|
|
|
|
./scripts/ci-lite/test_browserstack.sh
|
|
|
|
;;
|
|
|
|
docs_test)
|
|
|
|
./scripts/ci-lite/test_docs.sh
|
|
|
|
;;
|
|
|
|
aio)
|
|
|
|
./scripts/ci-lite/test_aio.sh
|
|
|
|
;;
|
|
|
|
esac
|