
Use renderspec to render the jinja2 templates into real RPM spec files. Abort if the conversion doesn't work. Change-Id: I31edbe16129a627236db0c980602ca23a0ba2a4a
21 lines
449 B
INI
21 lines
449 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
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv:rpm-packaging-lint]
|
|
commands =
|
|
{toxinidir}/tools/run_renderspec.sh {toxinidir}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|