summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2019-05-25 11:52:46 +0200
committerAndreas Jaeger <aj@suse.com>2019-05-25 12:39:24 +0200
commit2d091bfdbfe0f7d2857eb7920dfd4cfd6c406d0b (patch)
treeb9797c6549d0f26b632ee90ddcc5b3af3092517e /tox.ini
parentdec3639078195e88bbc09168761af96a0f2166b4 (diff)
downloaddesignate-2d091bfdbfe0f7d2857eb7920dfd4cfd6c406d0b.tar.gz
Fix api-ref building
The tox environment was missing deps and thus failed, add those in. Remove outdated comment, -W is used. Change-Id: Ib31fcbbbd6f3f3eb6f6aed0ec0c8e03da3782189
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 3 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index f2fbdd96..4a2fe6a8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -149,10 +149,9 @@ commands=pip-missing-reqs -d --ignore-file=designate/tests/* designate
basepython = python3
# This environment is called from CI scripts to test and publish
# the API Ref to developer.openstack.org.
-#
-# we do not used -W here because we are doing some slightly tricky
-# things to build a single page document, and as such, we are ok
-# ignoring the duplicate stanzas warning.
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -r{toxinidir}/doc/requirements.txt
commands =
rm -rf api-ref/build
sphinx-build -E -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html