aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index db4f89202..c59e46c37 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,8 @@
[tox]
-envlist = pep8,pylint,py27
+envlist = docs,pep8,pylint,py27
[testenv]
+usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
@@ -13,6 +14,10 @@ commands = nosetests --with-xunit \
--cover-html \
functest/tests/unit
+[testenv:docs]
+basepython = python2.7
+commands = sphinx-build -b html docs/api/ docs/api/_build
+
[testenv:pep8]
basepython = python2.7
deps =