packstack/tox.ini
Christian Berendt c470c4229f Check packstack/version.py for PEP8 issues
Change-Id: If7666db19a2a37c5fb55ad54570cc68c9a9b2ceb
2014-12-01 12:01:05 +01:00

34 lines
649 B
INI

[tox]
envlist = py26,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = nosetests {posargs}
[tox:jenkins]
sitepackages = True
downloadcache = ~/cache/pip
[testenv:pep8]
deps=pep8==1.2
commands = pep8 --exclude=*.pyc --repeat --show-source \
packstack/modules packstack/plugins tests setup.py \
packstack/version.py
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx