Skip to content

Commit 9c57c95

Browse files
authored
Build the documentation in Travis CI and fail on documentation issues (#86)
1 parent 5a86449 commit 9c57c95

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ matrix:
99
env: TOXENV=py35,stack-scrapy-1.1-py3,stack-scrapy-1.2-py3
1010
- python: 3.6
1111
env: TOXENV=py36,stack-scrapy-1.3-py3,stack-scrapy-1.4-py3,stack-scrapy-1.5-py3
12+
- python: 3.8
13+
env: TOXENV=docs
1214

1315
install:
1416
- pip install -U tox codecov

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ deps =
131131
changedir = {[docs]changedir}
132132
deps = {[docs]deps}
133133
commands =
134-
sphinx-build -W -b html . {envtmpdir}/html
134+
sphinx-build -nW -b html . {envtmpdir}/html

0 commit comments

Comments
 (0)