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
|
|
|
travisFoldStart "test.unit.saucelabs"
|
|
|
|
./scripts/sauce/sauce_connect_block.sh
|
|
|
|
SAUCE_ACCESS_KEY=`echo $SAUCE_ACCESS_KEY | rev`
|
|
|
|
$(npm bin)/karma start ./karma-js.conf.js --single-run --browsers=${KARMA_JS_BROWSERS} --reporters internal-angular,saucelabs
|
|
|
|
travisFoldEnd "test.unit.saucelabs"
|