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: I07bc516608bd7f6dedbc9f228ecae560a405993d
This commit is contained in:
Li, Chen 2015-06-24 16:38:42 +08:00
parent f4608385f6
commit 5344d6e0d4

View File

@ -14,6 +14,7 @@ deps =
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = bash tools/pretty_tox.sh '{posargs}' commands = bash tools/pretty_tox.sh '{posargs}'
whitelist_externals = bash whitelist_externals = bash
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:integration] [testenv:integration]
setenv = setenv =