Skip to content

Commit 163164c

Browse files
Tim Blasikegluneq
authored andcommitted
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 angular#5314
1 parent 31f85f0 commit 163164c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ env:
4444
- MODE=router DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
4545
- MODE=build_only DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
4646
- MODE=lint DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
47+
- MODE=payload DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
4748

4849
matrix:
4950
allow_failures:

scripts/ci/build_and_test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ elif [ "$MODE" = "build_only" ]; then
1818
${SCRIPT_DIR}/build_js.sh
1919
${SCRIPT_DIR}/build_dart.sh
2020
mkdir deploy; tar -czpf deploy/dist.tgz -C dist .
21+
elif [ "$MODE" = "payload" ]; then
22+
source ${SCRIPT_DIR}/env_dart.sh
23+
./node_modules/.bin/gulp test.payload.dart/ci
2124
else
2225
${SCRIPT_DIR}/build_$MODE.sh
2326
${SCRIPT_DIR}/test_$MODE.sh

0 commit comments

Comments
 (0)