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.

See this Nova change: If0bc42891a0714cc9b37b9c211388db20555ea7e

Change-Id: I94736408285ad741ff16eab1f9ae9bd30d3f0081
This commit is contained in:
Yuiko Takada 2015-06-15 10:07:39 +09:00 committed by Stuart McLaren
parent 8898ccc8fb
commit 9f44574560

View File

@ -11,6 +11,7 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}'
whitelist_externals = bash
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[tox:jenkins]
downloadcache = ~/cache/pip