awesome-selfhosted/.travis.yml
2016-10-26 22:09:28 -07:00

25 lines
1.2 KiB
YAML

language: node_js
node_js:
- "node"
before_install:
- rvm install 2.2
- gem install awesome_bot
- gem install danger
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'
- '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'
- node test.js
- 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
- danger
#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