Add -W for document build

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I16c100d98b63526a9d2fb1497763c1670954b3d6
This commit is contained in:
ZhongShengping 2018-03-02 09:08:19 +08:00
parent cfc489700a
commit 92b96644eb
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ commands = {posargs}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:cover]
commands = python setup.py test --coverage --coverage-package-name=oslo_context --testr-args='{posargs}'