build(browserstack): initial setup

Closes #4941
This commit is contained in:
mlaval
2015-10-27 16:09:09 +01:00
committed by Marc Laval
parent 84fe0c9d3e
commit 13447e3198
13 changed files with 164 additions and 22 deletions
+3
View File
@@ -8,6 +8,9 @@ echo '*******************'
if [ "$MODE" = "saucelabs" ]; then
./scripts/sauce/sauce_connect_teardown.sh
fi
if [ "$MODE" = "browserstack" ]; then
./scripts/browserstack/teardown_tunnel.sh
fi
echo '---------------------'
+1 -1
View File
@@ -10,7 +10,7 @@ cd $SCRIPT_DIR/../..
if [ "$MODE" = "dart_experimental" ]; then
${SCRIPT_DIR}/build_$MODE.sh
elif [ "$MODE" = "saucelabs" ]; then
elif [ "$MODE" = "saucelabs" ] || [ "$MODE" = "browserstack" ] ; then
${SCRIPT_DIR}/test_$MODE.sh
elif [ "$MODE" = "lint" ]; then
./node_modules/.bin/gulp static-checks
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
set -e
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
./node_modules/.bin/gulp test.unit.js.browserstack/ci