2016-10-24 22:49:08 -07:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- "node"
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- rvm install 2.2
|
|
|
|
- gem install awesome_bot
|
2016-12-04 16:44:26 +01:00
|
|
|
- gem install danger
|
|
|
|
|
2016-10-24 22:49:08 -07:00
|
|
|
script:
|
2016-10-27 09:19:08 -07:00
|
|
|
- echo $TRAVIS_PULL_REQUEST
|
2016-10-27 09:10:10 -07:00
|
|
|
- |
|
2016-10-27 09:19:08 -07:00
|
|
|
if [ $TRAVIS_PULL_REQUEST = 'false' ]; then
|
2016-10-27 09:10:10 -07:00
|
|
|
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
|
2016-12-04 09:06:30 -06:00
|
|
|
- bundle exec danger --verbose
|
2016-10-26 22:44:52 -07:00
|
|
|
#####awesome_bot#####
|
2016-10-25 12:36:01 -07:00
|
|
|
#Whitelisted Reason
|
|
|
|
#www.invoiceplane.com awesome_bot receives error 500, works fine from browser
|
|
|
|
#notepad.cc not an actual link, mentioned in description
|
2016-10-25 14:01:28 -07:00
|
|
|
#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
|
2016-10-25 14:24:45 -07:00
|
|
|
#dev.webtrees.net 403 error only in trvis ci, works fine from browser
|