Mirror of Awesome Self Hosted
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. language: node_js
  2. node_js:
  3. - "node"
  4. before_install:
  5. - rvm install 2.2
  6. - gem install awesome_bot
  7. - gem install danger
  8. script:
  9. - echo $TRAVIS_PULL_REQUEST
  10. - |
  11. if [ $TRAVIS_PULL_REQUEST = 'false' ]; then
  12. node test.js README.md
  13. 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
  14. else
  15. git diff master.. -U0 README.md | grep -Po "(?<=^\+).*" >> temp.md
  16. node test.js temp.md
  17. awesome_bot temp.md --allow-redirect'
  18. fi
  19. - danger
  20. #####awesome_bot#####
  21. #Whitelisted Reason
  22. #www.invoiceplane.com awesome_bot receives error 500, works fine from browser
  23. #notepad.cc not an actual link, mentioned in description
  24. #proxy.donttrustrobots.nl site down, issue submitted: https://github.com/swiperproxy/swiperproxy/issues/27
  25. #demo.phproject.org server issues, issue submitted: https://github.com/Alanaktion/phproject/issues/257
  26. #dev.webtrees.net 403 error only in trvis ci, works fine from browser