Add proxy configuration for tox.ini file

Change-Id: I53b2fe578845d6a580efb2d8ef548b0b3e928eb1
This commit is contained in:
Lukasz Wiecek 2017-01-17 13:02:56 +01:00
parent d8c0655b37
commit aae558035e
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,12 @@ envlist = py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
passenv = http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
no_proxy
NO_PROXY
usedevelop = True
install_command =
{toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}