Files
libra/tox.ini
David Shrewsbury cef0300844 Update tox.ini to use new features
Per this email message from Monty:

http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html

We need to duplicate the changes from this review:

https://review.openstack.org/47848

Change-Id: I82b3cc16e554d21fbb642629f8d021c8b1e50b87
2013-09-23 11:11:48 -04:00

30 lines
619 B
INI

[tox]
envlist = py27,pep8
minversion = 1.6
skipsdist = True
[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}'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
deps = flake8
commands = flake8
[flake8]
ignore = H
show-source = True
exclude = .venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tests,build
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}