Skip to content

Commit 4b7b1f0

Browse files
committed
Configuring tox to also check docs
1 parent 7a68de4 commit 4b7b1f0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tox.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
[tox]
22
# note that tox expects interpreters to be found at C:\PythonXY,
33
# with XY being python version ("27" or "34") for instance
4-
envlist = py26, py27, py32, py33, py34
4+
envlist = py26, py27, py32, py33, py34, docs
55
[testenv]
66
deps=pytest
77
pyside
88
commands=py.test {envsitepackagesdir}/pytestqt
99

10+
[testenv:docs]
11+
deps=pytest
12+
sphinx
13+
changedir=docs
14+
setenv=
15+
READTHEDOCS=True
16+
commands=sphinx-build -q -E -W -b html . _build\html
17+

0 commit comments

Comments
 (0)