
This commit copies some changes from the nova-specs repo. This fixes a couple of issues around the tox.ini file and the setup.cfg to make running a docs build infra job work well and catch formatting failures. The nova-specs commits this is based on: 4a6cb70 Make sphinxbuild fail on formatting errors 775d690 Allow running 'tox' with no arguments 8947230 Disable site-packages for tox Change-Id: If416c68e9a608039e74cadb2d50915fa6b859d89
17 lines
296 B
INI
17 lines
296 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|