tripleo-puppet-elements/tox.ini
Emilien Macchi 917b05d9d6 Basic structure imported from tripleo-image-elements
Imported from tripleo-image-elements, this is the basic structure.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2014-09-08 18:58:08 -04:00

30 lines
521 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,pep8
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands=
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:py26]
commands =
[testenv:venv]
commands = {posargs}
[testenv:pep8]
commands = ./run-flake8
[flake8]
ignore = E125,H803
exclude = .venv,.tox,dist,*.egg
show-source = true
[tox:jenkins]
downloadcache = ~/cache/pip