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.

See:
https://review.openstack.org/#/c/189569

Change-Id: I9f88235c58422c420bbd6ba4a3d8c4a5c60db246
This commit is contained in:
Yuiko Takada 2015-06-15 10:09:52 +09:00
parent 2bb4593266
commit 2e0f0aafd9

View File

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