e6991e1914
This patch set migrates some of the file structure in compliance with the Project Testing Interface (PTI) [0] for doc build in OpenStack-Infra. See [1] for more details. [0] https://governance.openstack.org/tc/reference/project-testing-interface.html#documentation [1] http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html Change-Id: I5995ffd3a6821fd629e00351728c27a045a7c076 Signed-off-by: Tin Lam <tin@irrational.io>
22 lines
488 B
INI
22 lines
488 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
|
passenv = *_proxy *_PROXY
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
|
commands =
|
|
bash -c "rm -rf doc/build"
|
|
python setup.py build_sphinx
|
|
whitelist_externals =
|
|
bash
|