summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-07-07 15:08:21 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2016-07-07 15:10:26 +0200
commit65814f87d5fff167528455e29edc8bf99c2e3575 (patch)
treea5ac91bf094bab1bc2463e2740b2e7f968f3e555 /tox.ini
parenta358b8faab78e6b0204a371d06c73224c21778b3 (diff)
make tox check sphinx
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