From 7ed1fec199908806e2a862558e0cb516c07e9350 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Mon, 12 Oct 2015 19:20:43 -0700 Subject: [PATCH] Look for dead links --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2353d2e --- /dev/null +++ b/.travis.yml @@ -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