From 3a884733a6d5b5aa7d3d4b65d5beb803bc49292b Mon Sep 17 00:00:00 2001 From: Yuiko Takada Date: Mon, 15 Jun 2015 10:12:24 +0900 Subject: [PATCH] Pass proxy environment variables to tox When a development environment is under a proxy, tox fails even if environment variables of the proxy are set. This patch fixes this problem by passing (upper case and lower case) http_proxy, https_proxy and no_proxy from environment to tox. See: commit 2d02ebb775ec44a14e325c56d4a901c5705fbb94 Change-Id: Ib7964fd5ea4fb8398cdb4cd94a70fe7fae49f973 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 3060c8ad8..0e18f6829 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,7 @@ deps = -r{toxinidir}/requirements.txt commands = bash tools/pretty_tox.sh '{posargs}' whitelist_externals = bash +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [tox:jenkins] downloadcache = ~/cache/pip -- 2.45.2