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: I79689d70d14239387f7ad9646eaf6cd2994ebcf7
Closes-bug: #1524824
This commit is contained in:
hparekh 2015-12-10 09:39:32 +09:00 committed by hardik
parent d6590dd4a1
commit daac8eb3cb

View File

@ -6,6 +6,7 @@ skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'