fuel-specs/tox.ini
Ghanshyam de52d4de37 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: I1a3b78eec40f3d7ae939f96c929720ca2ce0b9c7
2015-12-11 08:20:04 +00:00

21 lines
484 B
INI

[tox]
minversion = 1.6
envlist = docs,py27
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs:}'
[testenv:venv]
commands = {posargs}
basepython = python
[testenv:docs]
commands = python setup.py build_sphinx
basepython = python