2015-10-27 11:09:09 -04:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2015-12-10 08:40:00 -05:00
|
|
|
MODE=$1
|
|
|
|
|
2015-10-27 11:09:09 -04:00
|
|
|
echo =============================================================================
|
|
|
|
# go to project dir
|
|
|
|
SCRIPT_DIR=$(dirname $0)
|
|
|
|
cd $SCRIPT_DIR/../..
|
|
|
|
|
|
|
|
./scripts/browserstack/start_tunnel.sh
|
|
|
|
./scripts/browserstack/waitfor_tunnel.sh
|
|
|
|
./node_modules/.bin/gulp build.js.dev
|
2015-12-10 08:40:00 -05:00
|
|
|
./node_modules/.bin/gulp test.unit.js.browserstack/ci --mode=$MODE
|