summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 5 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 0930f16..1dba036 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
-minversion = 3.1
-envlist = py27,py37,pep8
+minversion = 3.1.0
+envlist = py37,pep8
ignore_basepython_conflict = True
[testenv]
@@ -27,7 +27,9 @@ commands =
commands = {posargs}
[testenv:docs]
-commands = python setup.py build_sphinx
+commands =
+ sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html
+
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html