From 398356503ab4729cf40587804c44b55eb5c99768 Mon Sep 17 00:00:00 2001 From: Sumit Arora Date: Fri, 2 Jun 2017 23:34:46 -0400 Subject: [PATCH] fix(@angular/cli): fix travis deployment added missing script check --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e1953f5c05db..eaeb1c335625 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,4 +67,4 @@ before_install: script: - if [[ "$SCRIPT" ]]; then npm run-script $SCRIPT; fi - if [[ "$NODE_SCRIPT" ]]; then node $NODE_SCRIPT; fi - - if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then node $DEPLOY_SCRIPT; fi + - if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" && "$DEPLOY_SCRIPT" ]]; then node $DEPLOY_SCRIPT; fi