
Caching is enabled by default from pip version 6.0 More info: https://testrun.org/tox/latest/config.html#confval-downloadcache=path https://pip.pypa.io/en/stable/reference/pip_install/#caching Change-Id: Ieb5b735f1ed72b5baf3e942917966c2b20c9af2a
18 lines
392 B
INI
18 lines
392 B
INI
[tox]
|
|
minversion = 1.8
|
|
envlist = rpm-packaging-lint
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|
|
|
[testenv:lint]
|
|
commands =
|
|
{toxinidir}/tools/run_renderspec.sh {toxinidir}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|