Performed a slight refactoring of CI scripts to make it easier for developers to run the **same** tests as those run on Travis. Defined `npm` scripts `test-js` and `test-dart`. `npm test` now runs the whole lot. Closes #966
12 lines
298 B
Bash
Executable File
12 lines
298 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo =============================================================================
|
|
# go to project dir
|
|
SCRIPT_DIR=$(dirname $0)
|
|
cd $SCRIPT_DIR/../..
|
|
|
|
${SCRIPT_DIR}/test_unit_js.sh
|
|
# ${SCRIPT_DIR}/test_server_js.sh # JS doesn't yet have server tests
|
|
${SCRIPT_DIR}/test_e2e_js.sh
|