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: I461bd8167c5984e81d7579e05d6ba15eeef416f6
This commit is contained in:
Ghanshyam 2015-12-11 09:16:05 +09:00 committed by Ghanshyam Mann
parent eb187d0eed
commit adcd76d9a8
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ setenv = VIRTUAL_ENV={envdir}
NAILGUN_DB_ROOT=postgres
NAILGUN_DB_ROOTPW=insecure_slave
NAILGUN_DB_ROOTPGPASS={toxinidir}/nailgun/pgpass
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/nailgun/test-requirements.txt
commands =
bash "{toxinidir}/nailgun/tools/prepare_settings_yaml.sh"