Skip to content

Commit 5325197

Browse files
authored
More Travis docs build tweaks (pythonGH-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.
1 parent 36da1c3 commit 5325197

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.travis.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,10 @@ matrix:
3636
env:
3737
- TESTING=docs
3838
before_script:
39-
- |
40-
if git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '^Doc/'
41-
then
42-
echo "Docs weren't updated, stopping build process."
43-
exit
44-
fi
45-
cd Doc
46-
make venv PYTHON=python3
39+
- cd Doc
40+
- make venv PYTHON=python3
4741
script:
48-
- make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q"
49-
- make check
42+
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q"
5043
- os: linux
5144
language: c
5245
compiler: clang

0 commit comments

Comments
 (0)