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. Change-Id: I65b2d9dbc7fbd883a7c90858bb08056da9d5a14f
This commit is contained in:
parent
7264fe6ee1
commit
7a08be7d88
1
tox.ini
1
tox.ini
@ -9,6 +9,7 @@ usedevelop = True
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
PYTHONDONTWRITEBYTECODE = 1
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user