rpm-packaging/tox.ini
Thomas Bechtold b47b634de5 Introduce spec-cleaner to enforce spec styling
A new test-requirement called spec_cleaner is run on the
rendered spec files to check the style of a given spec.
This enforces a consistent style between spec files.
Also fix the currently available spec files to have a consistent
style.

Change-Id: I31957cc986e320798d5d6212e4d37fdf89b13b3d
2016-06-24 02:06:21 +02:00

19 lines
443 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}
{toxinidir}/tools/run_speccleaner.sh {toxinidir}
[testenv:venv]
commands = {posargs}