chore(analytics): Travis job testing Dart payload size
Add a job to the Travis build matrix that checks the size of the `hello_world` app against targets hard-coded in the gulpfile. Closes #5314
This commit is contained in:
parent
31f85f0297
commit
163164cb79
|
@ -44,6 +44,7 @@ env:
|
|||
- MODE=router DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
|
||||
- MODE=build_only DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
|
||||
- MODE=lint DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
|
||||
- MODE=payload DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
|
|
@ -18,6 +18,9 @@ elif [ "$MODE" = "build_only" ]; then
|
|||
${SCRIPT_DIR}/build_js.sh
|
||||
${SCRIPT_DIR}/build_dart.sh
|
||||
mkdir deploy; tar -czpf deploy/dist.tgz -C dist .
|
||||
elif [ "$MODE" = "payload" ]; then
|
||||
source ${SCRIPT_DIR}/env_dart.sh
|
||||
./node_modules/.bin/gulp test.payload.dart/ci
|
||||
else
|
||||
${SCRIPT_DIR}/build_$MODE.sh
|
||||
${SCRIPT_DIR}/test_$MODE.sh
|
||||
|
|
Loading…
Reference in New Issue