@@ -10,8 +10,10 @@ cd $SCRIPT_DIR/../..
|
||||
|
||||
if [ "$MODE" = "dart_experimental" ]; then
|
||||
${SCRIPT_DIR}/build_$MODE.sh
|
||||
elif [ "$MODE" = "saucelabs" ] || [ "$MODE" = "browserstack" ] ; then
|
||||
${SCRIPT_DIR}/test_$MODE.sh
|
||||
elif [[ $MODE = saucelabs* ]] ; then
|
||||
${SCRIPT_DIR}/test_saucelabs.sh $MODE
|
||||
elif [[ $MODE = browserstack* ]] ; then
|
||||
${SCRIPT_DIR}/test_browserstack.sh $MODE
|
||||
elif [ "$MODE" = "lint" ]; then
|
||||
./node_modules/.bin/gulp static-checks
|
||||
elif [ "$MODE" = "build_only" ]; then
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
MODE=$1
|
||||
|
||||
echo =============================================================================
|
||||
# go to project dir
|
||||
SCRIPT_DIR=$(dirname $0)
|
||||
@@ -9,4 +11,4 @@ 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
|
||||
./node_modules/.bin/gulp test.unit.js.browserstack/ci --mode=$MODE
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
MODE=$1
|
||||
|
||||
echo =============================================================================
|
||||
# go to project dir
|
||||
SCRIPT_DIR=$(dirname $0)
|
||||
@@ -9,4 +11,4 @@ cd $SCRIPT_DIR/../..
|
||||
./scripts/sauce/sauce_connect_setup.sh
|
||||
./scripts/sauce/sauce_connect_block.sh
|
||||
./node_modules/.bin/gulp build.js.dev
|
||||
./node_modules/.bin/gulp test.unit.js.sauce/ci
|
||||
./node_modules/.bin/gulp test.unit.js.sauce/ci --mode=$MODE
|
||||
|
||||
Reference in New Issue
Block a user