neutron-vpnaas/tox.ini
Akihiro MOTOKI 42243d6eb2 Fix ./run_tests.sh --pep8
Create a common script to call flake8 to share flake8 options and
make tox and run_tests.sh use this script.

Fixes bug: 1179331

Change-Id: I92dc54fa3f4bb22aa39bde226b6d769088f9a2e3
2013-05-14 11:28:37 +09:00

30 lines
642 B
INI

[tox]
envlist = py26,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
setuptools_git>=0.4
commands =
python tools/patch_tox_venv.py
python setup.py testr --slowest --testr-args='{posargs}'
[tox:jenkins]
sitepackages = True
downloadcache = ~/cache/pip
[testenv:pep8]
commands = bash ./tools/run_pep8.sh
[testenv:i18n]
commands = python ./tools/check_i18n.py ./quantum ./tools/i18n_cfg.py
[testenv:cover]
commands =
python tools/patch_tox_venv.py
python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}