From: Yuiko Takada Date: Mon, 15 Jun 2015 01:12:24 +0000 (+0900) Subject: Pass proxy environment variables to tox X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3a884733a6d5b5aa7d3d4b65d5beb803bc49292b;p=openstack-build%2Fcinder-build.git 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 --- 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