goal-tools/tox.ini
Doug Hellmann ff47955b16 show coverage output after running tests
Change-Id: I36103b099d3ff23a04b55ade45026c298ef7afe6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-29 19:32:39 -04:00

33 lines
571 B
INI

[tox]
minversion = 2.0
envlist = py35,pep8
[testenv]
basepython = python3
install_command = pip install {opts} {packages}
usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
setenv =
PYTHON=coverage run --source goal_tools --parallel-mode
commands =
stestr run {posargs}
stestr slowest
coverage combine
coverage report -m
[testenv:pep8]
deps =
flake8
commands =
flake8
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
enable-extensions = H203,H106
exclude = .tox,dist,doc,*.egg,build