2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-14 19:57:47 +00:00
pyghmi/tox.ini
Jeremy Stanley 471f9f8755 Work toward Python 3.4 support and testing
Change-Id: Ibde15015cf665ca95e217381566baccee233ab37
2014-09-03 19:07:25 +00:00

32 lines
602 B
INI

[tox]
envlist = py26,py27,py33,py34,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[tox:jenkins]
sitepackages = True
downloadcache = ~/cache/pip
[testenv:pep8]
commands = flake8
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage
[testenv:venv]
commands = {posargs}
[flake8]
exclude = .venv,.tox,dist,doc,*.egg,build
show-source = true