Files
rpm-packaging/tox.ini
Thomas Bechtold bf55ef3508 Add basic renderspec test integration
Use renderspec to render the jinja2 templates into real RPM spec
files. Abort if the conversion doesn't work.

Change-Id: I31edbe16129a627236db0c980602ca23a0ba2a4a
2015-10-30 14:23:57 +09:00

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}