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.
Closes-Bug: #1525115

Change-Id: I1a3b78eec40f3d7ae939f96c929720ca2ce0b9c7
This commit is contained in:
Ghanshyam 2015-12-11 09:13:06 +09:00 committed by Ghanshyam Mann
parent b157b8a291
commit de52d4de37
1 changed files with 1 additions and 0 deletions

View File

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