refactor(build): support multiple configurable browsers for e2e and perf tests

Also includes browser configuration for Android
This commit is contained in:
Tobias Bosch
2015-01-08 14:20:05 -08:00
parent 7f701da66f
commit 561ad3a68c
19 changed files with 226 additions and 164 deletions

15
scripts/ci/test_unit.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
set -e
echo =============================================================================
# go to project dir
SCRIPT_DIR=$(dirname $0)
source $SCRIPT_DIR/env_dart.sh
cd $SCRIPT_DIR/../..
./node_modules/karma/bin/karma start karma-js.conf \
--reporters=dots \
--browsers=$KARMA_BROWSERS --single-run
./node_modules/karma/bin/karma start karma-dart.conf \
--reporters=dots \
--browsers=$KARMA_BROWSERS --single-run