From e7f3906b239deb0caa8bb6dbaab8b2de6dd1467e Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 27 Jul 2016 06:53:22 +0200 Subject: [PATCH] Check for Plunker Token instead --- scripts/ci/build-and-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci/build-and-test.sh b/scripts/ci/build-and-test.sh index ed0d553ec680..eb523220c3d3 100755 --- a/scripts/ci/build-and-test.sh +++ b/scripts/ci/build-and-test.sh @@ -46,7 +46,8 @@ elif is_extract_metadata; then ./node_modules/.bin/tsc -p ./src/demo-app/ ./node_modules/.bin/ngc -p ./src/demo-app/ elif is_plunker; then - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then + # Only update the plunker when the firebase access token is available. + if [ "$MATERIAL2_PLNKR_TOKEN" = "false" ]; then npm run update-plunker fi else