Skip to content

Commit bd82a07

Browse files
authored
Update Travis Doc build config (GH-1565)
Build the 'suspicious' doc target, turn on warnings-as-errors on the docs, and always build the docs. This better matches master's doc build setup.
1 parent f6c6d1e commit bd82a07

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.travis.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,10 @@ matrix:
2727
env:
2828
- TESTING=docs
2929
before_script:
30-
- |
31-
if git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '^Doc/'
32-
then
33-
echo "Docs weren't updated, stopping build process."
34-
exit
35-
fi
36-
cd Doc
30+
- cd Doc
3731
- pip install -U Sphinx
3832
script:
39-
- make html SPHINXOPTS="-q"
40-
- make check
33+
- make check suspicious html SPHINXOPTS="-q -W"
4134

4235
# Travis provides only 2 cores, so don't overdue the parallelism and waste memory.
4336
before_script:

0 commit comments

Comments
 (0)