Merge "Use constraints for api-ref environment"

This commit is contained in:
Jenkins 2016-08-30 23:14:39 +00:00 committed by Gerrit Code Review
commit aeabde14f3

View File

@ -34,7 +34,6 @@ passenv = *_proxy *_PROXY
# the API Ref to developer.openstack.org.
whitelist_externals = rm
deps = -r{toxinidir}/test-requirements.txt
install_command = pip install -U --force-reinstall {opts} {packages}
commands =
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/
@ -99,7 +98,7 @@ commands = python cinder/config/generate_cinder_opts.py
commands = {posargs}
[testenv:docs]
commands =
commands =
python setup.py build_sphinx
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/