diff --git a/tox.ini b/tox.ini index 1840788235..c1e5537ad1 100644 --- a/tox.ini +++ b/tox.ini @@ -52,9 +52,7 @@ commands = sphinx-build -W --keep-going -b html doc/source doc/build/html [testenv:deploy-guide] -deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} - -r{toxinidir}/doc/requirements.txt +deps = {[testenv:docs]deps} commands = rm -rf deploy-guide/build sphinx-build -a -E -W -d deploy-guide/build/doctrees --keep-going -b html deploy-guide/source deploy-guide/build/html @@ -67,10 +65,7 @@ commands = make -C doc/build/pdf [testenv:releasenotes] -deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} - -r{toxinidir}/requirements.txt - -r{toxinidir}/doc/requirements.txt +deps = {[testenv:docs]deps} commands = rm -rf releasenotes/build sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html