Pass environment variables of proxy to tox
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. Closes-Bug: #1525115 Change-Id: I1a3b78eec40f3d7ae939f96c929720ca2ce0b9c7
This commit is contained in:
parent
b157b8a291
commit
de52d4de37
1
tox.ini
1
tox.ini
|
@ -7,6 +7,7 @@ skipsdist = True
|
|||
usedevelop = True
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
install_command = pip install -U {opts} {packages}
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs:}'
|
||||
|
||||
|
|
Loading…
Reference in New Issue