barbican/tox.ini
Paul Kehrer 70878d48f1 Switch to testr
Change-Id: I6ca365e0b0d2ec86e0b61ce4c58b967260d480a7
2014-01-27 18:22:54 -06:00

28 lines
649 B
INI

[tox]
envlist = pep8,py27
[testenv]
setenv =
VIRTUAL_ENV={envdir}
PYTHONPATH = {toxinidir}/etc/barbican
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:py27]
commands = python setup.py testr --coverage
coverage combine
coverage report -m
[testenv:coverage]
commands = coverage html {posargs:--include="*barbican*"}
[testenv:pep8]
commands = {toxinidir}/tools/hacking.sh {posargs}
[flake8]
# E711 ignored because of sqlalchemy override of == None
# H ignored because it's not H clean
ignore = E711,H
exclude = .git,.idea,.tox,bin,dist,debian,rpmbuild,tools,*.egg-info,*openstack/common