
Not necessary to install all requirements, just pep8, for the pep8 test. Change-Id: I1203510999d07b8851134329f9d2424501caa532
21 lines
469 B
INI
21 lines
469 B
INI
[tox]
|
|
envlist = py27,pep8,pyflakes
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
-r{toxinidir}/tools/test-requires
|
|
commands = py.test {posargs}
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv:py27]
|
|
|
|
[testenv:pep8]
|
|
deps = pep8
|
|
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg libra setup.py
|
|
|
|
[testenv:pyflakes]
|
|
deps = pyflakes
|
|
commands = pyflakes libra/client libra/common libra/mgm libra/worker
|