summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 5dd88f0..3da07df 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,7 @@ envlist = py27, py35, pypy
[testenv]
commands = py.test --pep8
-# TODO get from requirements?
+
deps =
pytest
pytest-pep8
@@ -17,3 +17,10 @@ deps =
six
gnupg
zope.interface
+
+[testenv:doc]
+changedir=docs/source
+deps=sphinx
+commands = sphinx-build -W -b html \
+ -d {envtmpdir}/doctrees . \
+ {envtmpdir}/html