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. Refer patch set [1]

[1] https://review.openstack.org/#/c/189569

Change-Id: Id4046c5be169907a2038f4a67bd984825f9621ea
This commit is contained in:
Kien Nguyen 2017-06-25 18:16:09 +07:00
parent f6f6f7ee84
commit 5756e2e6a3

View File

@ -15,6 +15,7 @@ commands =
/bin/rm -f .testrepository/times.dbm
python setup.py testr --slowest --testr-args='{posargs}'
oslo-config-generator --config-file=etc/vitrage/vitrage-config-generator.conf
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:pep8]
commands = flake8