Skip to content

Commit 3af0e09

Browse files
committed
Add doc building to CI
1 parent 8e41c0b commit 3af0e09

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ env:
77
- TOX_ENV=pypy
88
- TOX_ENV=flake8
99
- TOX_ENV=manifest
10+
- TOX_ENV=docs
1011

1112
install:
1213
- pip install tox coveralls

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27, py33, py34, pypy, flake8, manifest
2+
envlist = py27, py33, py34, pypy, flake8, manifest, docs
33

44
[testenv]
55
deps =
@@ -19,3 +19,10 @@ deps =
1919
check-manifest
2020
commands =
2121
check-manifest
22+
23+
[testenv:docs]
24+
basepython = python2.7
25+
deps =
26+
sphinx
27+
commands =
28+
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html

0 commit comments

Comments
 (0)