performance-docs/tox.ini
Ilya Shakhat 267e0ec1c7 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
2015-12-15 18:32:12 +03:00

23 lines
503 B
INI

[tox]
envlist = docs
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands =
sphinx-build -b html -W doc/source/ doc/build/html
sphinx-build -b latex -W doc/source/ doc/build/latex
sphinx-build -b pdf -W doc/source/ doc/build/pdf