Skip to content

Commit 722d6ab

Browse files
committed
Updating Travis docs script so that it verifies all modules on PRs.
1 parent 5c90953 commit 722d6ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/update_docs.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ if [[ "${TRAVIS_BRANCH}" == "master" ]] && \
2525
elif [[ -n "${TRAVIS_TAG}" ]]; then
2626
echo "Building new docs on a tag."
2727
else
28-
echo "Not on Travis, doing nothing."
28+
echo "No docs to build for a new tag or merged commit on Travis."
29+
echo "Verifying all modules included (rather than running tox -e docs)."
30+
pip install --upgrade Sphinx
31+
python scripts/verify_included_modules.py
2932
exit
3033
fi
3134

0 commit comments

Comments
 (0)