From 5b3889d06a3ba289718770677da364ae3dfe95d9 Mon Sep 17 00:00:00 2001 From: nrew225 Date: Thu, 27 Oct 2016 09:10:10 -0700 Subject: [PATCH] Travis changes --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1dabeb9c..fff48920 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,17 @@ before_install: - rvm install 2.2 - gem install awesome_bot - gem install danger + - echo $TRAVIS_PULL_REQUEST script: - - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] && git diff master.. -U0 README.md | grep -Po "(?<=^\+).*" >> temp.md && (node test.js temp.md) && awesome_bot temp.md --allow-redirect' - - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && (node test.js README.md) && awesome_bot README.md --allow-dupe --allow-redirect --allow-ssl -w notepad.cc,www.invoiceplane.com,proxy.donttrustrobots.nl,demo.phproject.org,dev.webtrees.net' + - | + if [ $TRAVIS_PULL_REQUEST != "false" ]; then + node test.js README.md + awesome_bot README.md --allow-dupe --allow-redirect --allow-ssl -w notepad.cc,www.invoiceplane.com,proxy.donttrustrobots.nl,demo.phproject.org,dev.webtrees.net + else + git diff master.. -U0 README.md | grep -Po "(?<=^\+).*" >> temp.md + node test.js temp.md + awesome_bot temp.md --allow-redirect' + fi - danger #####awesome_bot##### #Whitelisted Reason