summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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