summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2016-11-09 16:40:07 +0100
committerJulien Danjou <julien@danjou.info>2016-11-10 10:34:29 +0100
commit4e46ae1a5dd98e21f1c68fda2a8e010cf6bae7d2 (patch)
treea34e379895c87f490efc5c14f292054fced2e667 /tox.ini
parentbfbee9fc9fd8feb10c90d889e67c3965a848463b (diff)
downloadtooz-4e46ae1a5dd98e21f1c68fda2a8e010cf6bae7d2.tar.gz
tox: install docs dependency in docs target and reno
Otherwise, it does not work. Change-Id: I6b3dd5752abdecd5ba9ec3acf7b122e5a40898d3
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 4ace62d..e682929 100644
--- a/tox.ini
+++ b/tox.ini
@@ -79,6 +79,7 @@ commands = {toxinidir}/setup-consul-env.sh pifpaf -g TOOZ_TEST run consul -- pyt
commands = python setup.py testr --slowest --coverage --testr-args="{posargs}"
[testenv:docs]
+deps = .[doc]
commands = python setup.py build_sphinx
[testenv:pep8]
@@ -102,4 +103,5 @@ ignore-path = doc/source/compatibility.rst,doc/source/history.rst
[testenv:releasenotes]
+deps = .[doc]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html