|
|
|
@ -5,7 +5,8 @@ envlist = py26,py27,pep8
|
|
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
|
|
|
-r{toxinidir}/tools/test-requires
|
|
|
|
|
commands = nosetests -a tag='unit'
|
|
|
|
|
commands =
|
|
|
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
|
|
|
|
|
|
[testenv:pep8]
|
|
|
|
|
commands = bash tools/run_pep8.sh
|
|
|
|
@ -14,7 +15,9 @@ commands = bash tools/run_pep8.sh
|
|
|
|
|
commands = {posargs}
|
|
|
|
|
|
|
|
|
|
[testenv:cover]
|
|
|
|
|
commands = nosetests --cover-erase --cover-package=heat --with-xcoverage -a tag='unit'
|
|
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
|
commands =
|
|
|
|
|
python setup.py testr --coverage
|
|
|
|
|
|
|
|
|
|
[tox:jenkins]
|
|
|
|
|
downloadcache = ~/cache/pip
|
|
|
|
|