Skip to content

Commit

Permalink
crawl https://git-scm.com looking for broken links
Browse files Browse the repository at this point in the history
Adds a build matrix entry that uses the broken-link-checker node module to crawl
https://git-scm.com, searching through the site recursively, and attempting all
links, reporting if they succeed or fail. This should make it easier to identify
broken links on the site. (Closes git#957.)

Also moves the sudo: line to the top of the file for style (it's a global build
matrix configuration, so it only seems right that it belongs with the other
global config settings up top).
  • Loading branch information
Samuel Lijin committed Mar 16, 2017
1 parent 1981fc7 commit 100f8c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
sudo: false
language: ruby
script: 'script/travis-ci'
rvm:
- 2.1.8
notifications:
email: false

sudo: false
matrix:
include:
- language: node_js
node_js: "6"
script: |
npm install broken-link-checker && \
$(npm bin)/blc https://git-scm.com -ro'

0 comments on commit 100f8c5

Please sign in to comment.