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 fixes this problem. Closes-Bug: #1525115 Change-Id: I461bd8167c5984e81d7579e05d6ba15eeef416f6
This commit is contained in:
parent
eb187d0eed
commit
adcd76d9a8
1
tox.ini
1
tox.ini
|
@ -20,6 +20,7 @@ setenv = VIRTUAL_ENV={envdir}
|
|||
NAILGUN_DB_ROOT=postgres
|
||||
NAILGUN_DB_ROOTPW=insecure_slave
|
||||
NAILGUN_DB_ROOTPGPASS={toxinidir}/nailgun/pgpass
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
deps = -r{toxinidir}/nailgun/test-requirements.txt
|
||||
commands =
|
||||
bash "{toxinidir}/nailgun/tools/prepare_settings_yaml.sh"
|
||||
|
|
Loading…
Reference in New Issue