From 46fcb5153e6875de85d36aac3dffe8bba045bab8 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Sat, 16 Jan 2016 13:12:10 +0100 Subject: [PATCH] Make deploys fatal only in master/non-prs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 08b416790..3eec07fc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ script: # Don't do this in `after_success`, because then failures won't bubble up - git config --global user.name 'Uppy Bot' - git config --global user.email 'uppybot@uppyjs.io' - - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && npm run web:deploy + - if [ "${TRAVIS_PULL_REQUEST}" == "false" ] && [ "${TRAVIS_BRANCH}" == "master" ]; then npm run web:deploy; else echo "Skipping for non-master/prs"; fi env: global: