Files
pycadf/tox.ini
Gordon Chung 4f812e0325 update tox to 1.6
ceilometer uses 1.6, let's utilise it as well to avoid any
incompatibility when manually running tests.

Change-Id: I9a3323310020381ceeebe7aa86219eff32b92ec1
Fixes: Bug#1226853
2013-09-17 19:25:16 -04:00

29 lines
571 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,py33,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages}
usedevelop = True
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
exclude = .tox,dist,doc,*.egg,build
builtins = _