From 31be54c64efb4c54a1b1009b1cda4fd133fde1ba Mon Sep 17 00:00:00 2001 From: "Li, Chen" Date: Wed, 24 Jun 2015 16:50:07 +0800 Subject: [PATCH] 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 fix this problem. Change-Id: I1e448d9002b1541b9b6dc436c066e1dafd93c5fc --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index ac6dce5c..e4c049df 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [tox:jenkins] downloadcache = ~/cache/pip