From 87f93044c6375fc0ce3ccf0296b900f0ce928c75 Mon Sep 17 00:00:00 2001 From: Ashley Teoh Date: Tue, 3 Apr 2018 18:57:31 -0400 Subject: [PATCH] only check links if build is triggered by cron --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 706884102..9e9ba912e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -72,7 +72,7 @@ script: if [[ $GROUP == docs ]]; then EXIT_STATUS=0 make -C docs/ html || EXIT_STATUS=$? - make -C docs/ linkcheck || EXIT_STATUS=$? + 'if [[ $TRAVIS_EVENT_TYPE == cron ]]; then make -C docs/ linkcheck || EXIT_STATUS=$?; fi' pytest --nbval --current-env docs || EXIT_STATUS=$? exit $EXIT_STATUS fi