234248c272
Also add dist-upgrade verification. Change-Id: I0716ee878e9a2fa9a557debe543996691c0540ce Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
24 lines
531 B
INI
24 lines
531 B
INI
[tox]
|
|
minversion = 2.3.1
|
|
skipsdist = True
|
|
envlist = docs
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
allowlist_externals = rm
|
|
passenv = http_proxy,HTTP_PROXY,https_proxy,HTTPS_PROXY,no_proxy,NO_PROXY,PBR_VERSION
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
basepython = python3
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
|
commands =
|
|
rm -rf doc/build
|
|
sphinx-build -W -b html doc/source doc/build/html
|