Skip to content

Commit

Permalink
doc: allow timeout and other status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
fozy81 authored and gr2m committed Jun 2, 2017
1 parent 2825b37 commit 7e34276
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ before_script:
# remove following files to exclude from awesome_bot link checks because '127.0.0.'... links cause failure even when whitelisted
- rm docs/guides/quickstart.rst.md docs/guides/deployment.rst.md
- gem install awesome_bot
# run dead link checks but silence 404 failures (due to false postives), redirect, dupes and excluding white-listed links
- awesome_bot --allow 404 --allow-redirect --allow-dupe docs/**/*.md README.md --white-list http://127.0.0.1:8080,http://myhoodieapp.com,https://pouchdb.com/adapters,https://hoodie-app-tracker-randomxyz.now.sh/,https://my-tracker-app.now.sh,https://hapijs.com/tutorials/,https://opencollective.com
# run dead link checks but silence no response, timeout, bad gateway, service unavailable and gateway timeout failures
# (due to false postives), redirect, dupes and excluding white-listed links
- awesome_bot --allow 404,408,502,503,504 --allow-redirect --allow-dupe docs/**/*.md README.md --white-list http://127.0.0.1:8080,http://myhoodieapp.com,https://pouchdb.com/adapters,https://hoodie-app-tracker-randomxyz.now.sh/,https://my-tracker-app.now.sh,https://hapijs.com/tutorials/,https://opencollective.com
# run spelling/grammar/style checks
- npm run textlint
after_success:
Expand Down

0 comments on commit 7e34276

Please sign in to comment.