[tox]
minversion = 2.0
envlist = docs
skipsdist = True

[testenv]
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
passenv = *_proxy *_PROXY

[testenv:venv]
commands = {posargs}

[testenv:docs]
commands = python setup.py build_sphinx
