35 lines
687 B
INI
35 lines
687 B
INI
[tox]
|
|
minversion = 2.3.1
|
|
envlist = docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps =
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
|
-r{toxinidir}/requirements.txt
|
|
whitelist_externals =
|
|
bash
|
|
rm
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
deps = {[testenv]deps}
|
|
description =
|
|
Build main documentation.
|
|
commands =
|
|
bash -c "./tools/build-docs.sh"
|
|
|
|
[testenv:releasenotes]
|
|
basepython = python3
|
|
deps = {[testenv]deps}
|
|
description =
|
|
Build release notes
|
|
commands =
|
|
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|