use wild card for passing env variables
With this patch it will no longer be required to write each single proxy variable. It will let pass more variable just in a single line in future if we add more env variables. passenv = *_proxy will get all variables like http_proxy, https_proxy, no_proxy and any_proxy etc. Change-Id: I8fd137d115380bfeb558706edb52d1ac2d95ca79
This commit is contained in:
parent
743ff7526e
commit
0d5234051d
2
tox.ini
2
tox.ini
|
@ -14,7 +14,7 @@ setenv =
|
|||
VIRTUAL_ENV={envdir}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
passenv = *_proxy *_PROXY
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
bash tools/pretty_tox.sh '{posargs}'
|
||||
|
|
Loading…
Reference in New Issue