
The default for install_command is good, no need to add our own version in tox.ini. Remove it. Remove git commands from conf.py, current openstackdocstheme handles this itself. Fix some missed api-wg -> api-sig renames in conf.py. Change-Id: I806e804a5852e081f0cb8c1b43ffe13a119aba2c
26 lines
566 B
INI
26 lines
566 B
INI
[tox]
|
|
# Hold back to 1.4, since that's what's in Fedora 20 repos
|
|
# and we don't need anything newer for nova-specs tests
|
|
minversion = 1.4
|
|
envlist = docs,py37,linters
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands = stestr run --slowest {posargs}
|
|
|
|
[testenv:linters]
|
|
commands =
|
|
# Check the *.rst files
|
|
doc8 README.rst guidelines
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands =
|
|
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
|