From e1e2a1c81c68ad15cfe41bb5a7744daaa55dc8b1 Mon Sep 17 00:00:00 2001 From: "Aaron S. Hawley" Date: Fri, 5 Oct 2018 11:05:11 -0400 Subject: [PATCH] Ignore link checking www.oracle.com Is unreliable, and gives a strange response, "403 No error". --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b966d01bd..b56eb3037 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ script: - find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \) - find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \) | ( ! read ) - if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then bundle exec htmlproofer ./_site/ --disable-external --only-4xx --empty-alt-ignore --allow-hash-href ; fi -- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bundle exec htmlproofer ./_site/ --external_only --only-4xx --empty-alt-ignore --allow-hash-href --url-ignore "/trends.google.com/,/pgp.mit.edu/" ; fi +- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bundle exec htmlproofer ./_site/ --external_only --only-4xx --empty-alt-ignore --allow-hash-href --url-ignore "/trends.google.com/,/pgp.mit.edu/,/www.oracle.com/" ; fi notifications: email: