Pass proxy environment variables to tox
When a development environment is under a proxy, tox fails even if environment variables of the proxy are set. This patch fixes this problem by passing (upper case and lower case) http_proxy, https_proxy and no_proxy from environment to tox. See: commit 2d02ebb775ec44a14e325c56d4a901c5705fbb94 Change-Id: Ib7964fd5ea4fb8398cdb4cd94a70fe7fae49f973
This commit is contained in:
parent
27b6169869
commit
3a884733a6
1
tox.ini
1
tox.ini
@ -16,6 +16,7 @@ deps = -r{toxinidir}/requirements.txt
|
||||
commands =
|
||||
bash tools/pretty_tox.sh '{posargs}'
|
||||
whitelist_externals = bash
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
Loading…
x
Reference in New Issue
Block a user