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 fix this problem. Change-Id: If0bc42891a0714cc9b37b9c211388db20555ea7e
This commit is contained in:
parent
7330b3f90c
commit
2d02ebb775
1
tox.ini
1
tox.ini
@ -18,6 +18,7 @@ deps = -r{toxinidir}/requirements.txt
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
bash tools/pretty_tox.sh '{posargs}'
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
# there is also secret magic in pretty_tox.sh which lets you run in a fail only
|
||||
# mode. To do this define the TRACE_FAILONLY environmental variable.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user