ffbc080f1a
Change-Id: I40118820d7eb0956dc012556aa1d5767f40d652e Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
27 lines
606 B
INI
27 lines
606 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipdist = True
|
|
skip_missing_interpreters = true
|
|
# https://docs.python.org/devguide/#status-of-python-branches
|
|
envlist = pep8, py27, pypy, py33, py34, py35, py36, py37
|
|
|
|
[testenv]
|
|
commands = python setup.py test --slowest --testr-args='{posargs}'
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
usedevelop = True
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,build,*.egg
|