Treat build warnings as errors

Bad formatting is reported as warnings, but it leads to broken
documents generation that can be observed only manually. With
this patch all warning are treated as errors.

Change-Id: I46479b028baf0899cab207653e7c415030a0d0b0
This commit is contained in:
Ilya Shakhat 2015-12-15 18:32:12 +03:00
parent 250caed419
commit 267e0ec1c7

View File

@ -17,6 +17,6 @@ commands = {posargs}
[testenv:docs] [testenv:docs]
commands = commands =
sphinx-build -b html doc/source/ doc/build/html sphinx-build -b html -W doc/source/ doc/build/html
sphinx-build -b latex doc/source/ doc/build/latex sphinx-build -b latex -W doc/source/ doc/build/latex
sphinx-build -b pdf doc/source/ doc/build/pdf sphinx-build -b pdf -W doc/source/ doc/build/pdf