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: I25eb1d42ca0e3e3d8a028c22799da383ececcac5 Closes-Bug: #1465086
This commit is contained in:
parent
3994704dfc
commit
cfd59d44db
1
tox.ini
1
tox.ini
@ -19,6 +19,7 @@ whitelist_externals = sh
|
|||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
sh tools/pretty_tox.sh '{posargs}'
|
sh tools/pretty_tox.sh '{posargs}'
|
||||||
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = python setup.py build_sphinx -E
|
commands = python setup.py build_sphinx -E
|
||||||
|
Loading…
Reference in New Issue
Block a user