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: I650019ae86e223d5e9c2d4a5b51b92377f3c471e
This commit is contained in:
Yuiko Takada 2015-06-15 09:59:20 +09:00
parent 6e714ffb6c
commit c924c3f1a4

View File

@ -14,6 +14,7 @@ deps = -r{toxinidir}/requirements.txt
whitelist_externals = bash
commands =
bash -c "TESTS_DIR=./ironic/tests/ python setup.py testr --slowest --testr-args='{posargs}'"
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[tox:jenkins]
downloadcache = ~/cache/pip