Pass proxy environment variables to tox 13/613/1
authorJuha Kosonen <juha.kosonen@nokia.com>
Fri, 3 May 2019 12:12:54 +0000 (15:12 +0300)
committerJuha Kosonen <juha.kosonen@nokia.com>
Fri, 3 May 2019 12:12:54 +0000 (15:12 +0300)
Tox will not pass proxy environment variables by default to the test
environment. Passing the variables enables running tox in a setup
requiring proxy settings.

JIRA: VAL-15

Change-Id: Id37dd1ac7289af42b8291f679a1f18af91e947e0
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index c6ac867..363a381 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,6 +14,7 @@ commands =
 
 [testenv:coala]
 basepython = python3
+passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 deps =
    coala
    coala-bears