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: I62c537aecc0a706afe048427a96b98a51abfc26b Closes-bug: #1524824
This commit is contained in:
parent
a643bb902d
commit
7e2c95b1bd
2
tox.ini
2
tox.ini
|
@ -8,7 +8,7 @@ usedevelop = True
|
|||
whitelist_externals = bash
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
|
Loading…
Reference in New Issue