summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini3
2 files changed, 4 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 9fec393..8ddad2d 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -3,4 +3,5 @@ hacking>=0.9.2,<0.10
mock>=1.0
oslosphinx
oslotest
+sphinx>=1.1.2,!=1.2.0,<1.3
testtools>=0.9.34
diff --git a/tox.ini b/tox.ini
index 14befe5..eabaf32 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,6 +22,9 @@ commands = flake8
[testenv:venv]
commands = {posargs}
+[testenv:docs]
+commands = python setup.py build_sphinx
+
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'