Commit 53251977 authored by Zachary Ware's avatar Zachary Ware Committed by GitHub

More Travis docs build tweaks (GH-113)

- Return to always building the docs, it's a relatively cheap operation,
  the check had a bug, and the docs build depends on other files.
- Add `make suspicious`
- Do all three checks as one `make check suspicious html` invocation for
  earliest possible exit in case of issues.
parent 36da1c35
...@@ -36,17 +36,10 @@ matrix: ...@@ -36,17 +36,10 @@ matrix:
env: env:
- TESTING=docs - TESTING=docs
before_script: before_script:
- | - cd Doc
if git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '^Doc/' - make venv PYTHON=python3
then
echo "Docs weren't updated, stopping build process."
exit
fi
cd Doc
make venv PYTHON=python3
script: script:
- make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q" - make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q"
- make check
- os: linux - os: linux
language: c language: c
compiler: clang compiler: clang
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment