7b2f757b2b
In order to speedup the startup time of test.unit.js task, we are moving the circular dependency check into a pre-test check that executes only on travis. Similarly we are moving the style check to a post-test check that executes on travis. This way if a circular dependency issue occurs, we find it before running tests on CI and if the code is not formatted we fail the build only if all the tests pass. Related to #2536 Related to #2094
13 lines
328 B
Bash
Executable File
13 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo =============================================================================
|
|
# go to project dir
|
|
SCRIPT_DIR=$(dirname $0)
|
|
# this is needed because we're running JS tests in Dartium too
|
|
source $SCRIPT_DIR/env_dart.sh
|
|
cd $SCRIPT_DIR/../..
|
|
|
|
./node_modules/.bin/gulp build.js
|
|
./node_modules/.bin/gulp docs
|