
- updates tox.ini, also fixing a typo - enables new jobs, which would at least test ability to install package under these versions. - updates Trove metadata - replace fake sole-survivor unittest with a bit more practical one Change-Id: Iae224a19850489ba3563ad5a40d358002dacdb97
27 lines
589 B
INI
27 lines
589 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
skip_missing_interpreters = false
|
|
# https://docs.python.org/devguide/#status-of-python-branches
|
|
envlist = pep8, py{38,37,36,35,27,py}
|
|
|
|
[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
|