Skip to content

Commit

Permalink
More Travis docs build tweaks (GH-113)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
zware authored Feb 15, 2017
1 parent 36da1c3 commit 5325197
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,10 @@ matrix:
env:
- TESTING=docs
before_script:
- |
if git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '^Doc/'
then
echo "Docs weren't updated, stopping build process."
exit
fi
cd Doc
make venv PYTHON=python3
- cd Doc
- make venv PYTHON=python3
script:
- make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q"
- make check
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q"
- os: linux
language: c
compiler: clang
Expand Down

0 comments on commit 5325197

Please sign in to comment.