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:
parent
cfc489700a
commit
92b96644eb
2
tox.ini
2
tox.ini
|
@ -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}'
|
||||
|
|
Loading…
Reference in New Issue