From f2bf26581f15c0c23cf56547f86f1568f0acdf56 Mon Sep 17 00:00:00 2001 From: chen-li Date: Wed, 13 Jan 2016 18:06: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 is a new feature above tox 2.0, you can check it from [1]. This patch fix this problem. [1]. https://tox.readthedocs.org/en/latest/example/basic.html#passing-down-environment-variables Change-Id: I15615bd3e789a580e3f25f25228851b78197e7a7 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 576af7a6bc..152e62ac68 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,7 @@ commands = whitelist_externals = bash find +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:py27log] commands =