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: Idebdeab428a6fc2aa1f6bba9e919fe4e9f4f6227
This commit is contained in:
ZhongShengping 2018-03-02 08:24:57 +08:00
parent ff2330598c
commit fc9dc7d5c2
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ commands = {posargs}
[testenv:docs]
deps = -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_utils --testr-args='{posargs}'