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: I62c537aecc0a706afe048427a96b98a51abfc26b
Closes-bug: #1524824
This commit is contained in:
hparekh 2015-12-11 09:03:05 +09:00
parent a643bb902d
commit 7e2c95b1bd
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ usedevelop = True
whitelist_externals = bash
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt