travis fix

This commit is contained in:
nrew225 2016-10-26 22:37:45 -07:00
parent ccbebe4dcd
commit 86b1f5078f

View File

@ -8,8 +8,8 @@ before_install:
- gem install awesome_bot - gem install awesome_bot
- gem install danger - gem install danger
script: script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash git diff master.. -U0 README.md | grep -Po "(?<=^\+).*" >> temp.md && (node test.js temp.md) && awesome_bot temp.md --allow-redirect; fi' - '[ "$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'
- '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; fi' - '[ "$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'