Merge pull request #3493 from ashleytqy/ash.travis

Only check links when build is trigger by Travis Cron job
pull/3497/head
Thomas Kluyver 8 years ago committed by GitHub
commit 717294d88b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -72,7 +72,11 @@ 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