54f7e4bd15
Add py37, py36 and py35. Change-Id: I22e9a2d5e527e6af7cbaa0e7c69fecd4756de476
30 lines
612 B
INI
30 lines
612 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = pep8,py37,py36,py35,py27
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands=
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:venv]
|
|
basepython = python3
|
|
commands = {posargs}
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
commands = ./run-flake8
|
|
|
|
[flake8]
|
|
ignore = E125,H803
|
|
exclude = .venv,.tox,dist,*.egg,build,releasenotes
|
|
show-source = true
|
|
|
|
[testenv:releasenotes]
|
|
basepython = python3
|
|
commands = bash -c tools/releasenotes_tox.sh
|