4ca787152e
... and also bump hacking to avoid conflict in test requirements. Change-Id: I0d12ca25bea62577120b89f9f910d4dbbd141aed
30 lines
529 B
INI
30 lines
529 B
INI
[tox]
|
|
minversion = 3.1.0
|
|
skipsdist = True
|
|
envlist = pep8,py3
|
|
ignore_basepython_conflict = true
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8 {posargs}
|
|
|
|
[testenv:cover]
|
|
commands =
|
|
python setup.py testr --coverage
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,build,*.egg
|