only check links if build is triggered by cron

pull/3493/head
Ashley Teoh 8 years ago
parent faa0cab302
commit 87f93044c6

@ -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

Loading…
Cancel
Save