Skip to content

Commit f26fde6

Browse files
committed
Modify .travis.yml to do the doc build
Also: - Have doc build treat warnings as errors
1 parent c1b326b commit f26fde6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ matrix:
1616
- os: linux
1717
python: 3.7-dev
1818
env: TOXENV=py37
19+
- os: linux
20+
python: 3.5
21+
env: TOXENV=docs
1922
# # Warning: Don't try to use code coverage analysis with pypy as it is insanely slow
2023
# - os: linux
2124
# python: pypy3

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ setenv =
1010
PYTHONPATH={toxinidir}
1111

1212
[testenv:docs]
13-
basepython = python3.7
13+
basepython = python3.5
1414
deps =
1515
sphinx
1616
sphinx-rtd-theme
1717
changedir = docs
18-
commands = sphinx-build -a -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
18+
commands = sphinx-build -a -W -T -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
1919

2020
[testenv:py34]
2121
deps =

0 commit comments

Comments
 (0)