gerritlib/tox.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