Skip to content

Commit

Permalink
Tests: Fail if create_doc_files fails
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteF committed Jul 4, 2017
1 parent 64d0e7f commit 698d9ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ fi
if [[ "$nodoc" != 'TRUE' && "$python_version" == "3" && "$python_version_long" != 3.3.* ]]; then
echo -e '\e[32mChecking for errors in docs and docstrings\e[0m'
cd docs
set -e
./create_doc_files.sh -p $python
make clean
set +e
if ! $python $(which sphinx-build) -b html -d build/doctrees/ source build/html -nW; then
exit 1
fi
Expand Down

0 comments on commit 698d9ee

Please sign in to comment.