daac8eb3cb
When a development environment is under a proxy, tox is failed even if environment variables of the proxy are set. This patch fixes this problem. Change-Id: I79689d70d14239387f7ad9646eaf6cd2994ebcf7 Closes-bug: #1524824
25 lines
537 B
INI
25 lines
537 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = docs,py27
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:doc8]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
doc8
|
|
commands = doc8 doc/source
|