Pass environment variables of proxy to tox
Change-Id: I082bcb4643fc0fa625a8ee1b64cd80f3ea1018ac Related-Bug: #1465086
This commit is contained in:
parent
d7c8cd20f6
commit
c699d7b401
1
tox.ini
1
tox.ini
|
@ -5,6 +5,7 @@ envlist = py34,py27,pep8
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
Loading…
Reference in New Issue