Force releasenotes warnings to be treated as errors

Ensure the releasenotes can always be built and rendered properly.

Change-Id: I78e09804d51416c045d3569ed7fe90eb77dc9b21
This commit is contained in:
lin-hua-cheng 2015-12-01 00:15:56 -08:00
parent 8476319cd0
commit 380b81e21f

View File

@ -105,7 +105,7 @@ setenv = DJANGO_SETTINGS_MODULE=openstack_dashboard.test.settings
commands = python setup.py build_sphinx
[testenv:releasenotes]
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[tox:jenkins]
downloadcache = ~/cache/pip