Skip to content

Commit

Permalink
Merge pull request #3493 from ashleytqy/ash.travis
Browse files Browse the repository at this point in the history
Only check links when build is trigger by Travis Cron job
  • Loading branch information
takluyver authored Apr 4, 2018
2 parents 5960203 + ad59f70 commit 717294d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 717294d

Please sign in to comment.