3de38762aa
Change-Id: Ie417df96258c2daa852d14e588de4ad2d54bb819
28 lines
1.2 KiB
INI
Executable File
28 lines
1.2 KiB
INI
Executable File
[tox]
|
|
envlist = py27
|
|
|
|
[testenv]
|
|
setenv = PYTHONPATH = {toxinidir}:{toxinidir}/rms/external_mock/
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
commands =
|
|
python setup.py testr --coverage --slowest --omit=rms/storage/my_sql/data_models.py,rms/tests/*,.tox/*,external_mock/*,setup.py,rms/logger/*,rms/app.py
|
|
coverage report --omit=rms/storage/my_sql/data_models.py,rms/tests/*,.tox/*,external_mock/*,setup.py,rms/logger/*,rms/app.py
|
|
coverage html --omit=rms/storage/my_sql/data_models.py,rms/tests/*,.tox/*,external_mock/*,setup.py,rms/logger/*,rms/app.py
|
|
|
|
[testenv:cover]
|
|
setenv = PYTHONPATH = {toxinidir}:{toxinidir}/rms/external_mock/
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
commands =
|
|
python setup.py testr --coverage --omit=rms/storage/my_sql/data_models.py,rms/tests/*,.tox/*,external_mock/*,setup.py,rms/logger/*,rms/app.py
|
|
coverage report --omit=rms/storage/my_sql/data_models.py,rms/tests/*,.tox/*,external_mock/*,setup.py,rms/logger/*,rms/app.py
|
|
coverage html --omit=rms/storage/my_sql/data_models.py,rms/tests/*,.tox/*,external_mock/*,setup.py,rms/logger/*,rms/app.py
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
|
|
py.test --pep8 -m pep8
|