2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-14 19:57:47 +00:00
pyghmi/tox.ini
Ondřej Nový 59150c8c30 Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I0eec04a73e98048ea705bba01fd8d84b605b874e
2015-12-11 23:20:31 +01:00

32 lines
624 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
[testenv:pep8]
whitelist_externals = bash
commands = bash -c 'flake8 pyghmi bin/*'
[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