summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 10 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index a62d402..4d45658 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
- py27,py34,py35,py36,pypy,pypy3,coverage
+ py27,py34,py35,py36,pypy,pypy3,coverage,docs
[testenv]
commands =
@@ -18,3 +18,12 @@ commands =
deps =
{[testenv]deps}
coverage
+
+[testenv:docs]
+basepython =
+ python2.7
+commands =
+ sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
+deps =
+ {[testenv]deps}
+ .[docs]