Look for dead links

This commit is contained in:
Pierre Fenoll 2015-10-12 19:20:43 -07:00
parent 177124e3c6
commit 7ed1fec199

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
language: bash
sudo: false
before_install:
- set -e
script:
- ag -o '([^\s<>]+://[^\s<>]+)' README.rst | while read url; do if [[ "$url" != '' ]]; then echo "$url"; curl --output /dev/null --silent --head --fail --location --insecure "$url" || exit 1; fi; done