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: I685ddbc6bb6e0fe25c308c35a7581785eebe3629
This commit is contained in:
parent
d2e20dd885
commit
c3c7ee429a
1
tox.ini
1
tox.ini
@ -7,6 +7,7 @@ envlist = functional,pep8
|
|||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install -U {opts} {packages}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user