Update .travis.yml

This commit is contained in:
n8225 2016-12-04 11:03:49 -06:00 committed by GitHub
parent 0ec4be74fa
commit fd201f8c1c

View File

@ -8,22 +8,9 @@ before_install:
- gem install awesome_bot
- gem install bundler
- bundle install
script:
- echo $TRAVIS_PULL_REQUEST
- |
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
- git diff master.. -U0 README.md | grep -Po "(?<=^\+).*" >> temp.md
- node test.js temp.md
- awesome_bot temp.md --allow-redirect
- bundle exec danger --verbose
#####awesome_bot#####
#Whitelisted Reason
#www.invoiceplane.com awesome_bot receives error 500, works fine from browser
#notepad.cc not an actual link, mentioned in description
#proxy.donttrustrobots.nl site down, issue submitted: https://github.com/swiperproxy/swiperproxy/issues/27
#demo.phproject.org server issues, issue submitted: https://github.com/Alanaktion/phproject/issues/257
#dev.webtrees.net 403 error only in trvis ci, works fine from browser