Travis changes

This commit is contained in:
nrew225 2016-10-27 09:10:10 -07:00
parent cd42a62692
commit 5b3889d06a

View File

@ -7,9 +7,17 @@ before_install:
- rvm install 2.2 - rvm install 2.2
- gem install awesome_bot - gem install awesome_bot
- gem install danger - gem install danger
- echo $TRAVIS_PULL_REQUEST
script: 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 - danger
#####awesome_bot##### #####awesome_bot#####
#Whitelisted Reason #Whitelisted Reason