From 163164cb79ed8f6989fc91cf7450de2f010a1306 Mon Sep 17 00:00:00 2001 From: Tim Blasi Date: Fri, 20 Nov 2015 09:59:08 -0800 Subject: [PATCH] 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 --- .travis.yml | 1 + scripts/ci/build_and_test.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index ea878ef2e4..80d9d7540a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/scripts/ci/build_and_test.sh b/scripts/ci/build_and_test.sh index e1f7a1a9d3..0d4c9ce449 100755 --- a/scripts/ci/build_and_test.sh +++ b/scripts/ci/build_and_test.sh @@ -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