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. See this Nova change: If0bc42891a0714cc9b37b9c211388db20555ea7e Change-Id: I94736408285ad741ff16eab1f9ae9bd30d3f0081
This commit is contained in:
parent
8898ccc8fb
commit
9f44574560
1
tox.ini
1
tox.ini
@ -11,6 +11,7 @@ deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}'
|
||||
whitelist_externals = bash
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
Loading…
Reference in New Issue
Block a user