2017-04-27 11:01:26 +02:00
|
|
|
[tox]
|
|
|
|
minversion = 2.0
|
|
|
|
envlist = docs
|
|
|
|
skipsdist = True
|
|
|
|
|
|
|
|
[testenv]
|
2017-12-28 23:54:50 -06:00
|
|
|
install_command = pip install -U {opts} {packages}
|
2017-04-27 11:01:26 +02:00
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
2017-12-28 23:54:50 -06:00
|
|
|
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
2017-04-27 11:01:26 +02:00
|
|
|
passenv = *_proxy *_PROXY
|
|
|
|
|
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
|
|
|
|
|
|
|
[testenv:docs]
|
2017-12-28 23:54:50 -06:00
|
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
|
|
|
commands =
|
|
|
|
bash -c "rm -rf doc/build"
|
|
|
|
python setup.py build_sphinx
|
|
|
|
whitelist_externals =
|
|
|
|
bash
|