Files
python-scciclient/tox.ini
Yushiro FURUKAWA 20f5b8b40a Enable to see the result of 'tox -e cover'
This commit shows the result of 'tox -e cover' using 'coverage report'.

Change-Id: I2caa8fcd7dad05aa4a76ff4790f3601b2815cbf4
Depends-On: I6ff0b67228d1439ae19f177cf41d01cf9f9eefc1
2016-03-01 13:48:36 +09:00

37 lines
802 B
INI

[tox]
minversion = 1.6
envlist = py34,py27,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands =
python setup.py testr --coverage --testr-args='{posargs}'
coverage report
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,H803
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build