Merge pull request #111 from fenollp/patch-1

Look for dead links
This commit is contained in:
Xiaming 2015-10-13 14:54:25 +08:00
commit 68ce77491f

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