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: If0bc42891a0714cc9b37b9c211388db20555ea7e
This commit is contained in:
Yuuichi Fujioka 2015-06-09 15:30:59 +09:00
parent 7330b3f90c
commit 2d02ebb775
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ deps = -r{toxinidir}/requirements.txt
commands =
find . -type f -name "*.pyc" -delete
bash tools/pretty_tox.sh '{posargs}'
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
# there is also secret magic in pretty_tox.sh which lets you run in a fail only
# mode. To do this define the TRACE_FAILONLY environmental variable.