be0926efaf
Note that the interface doesn't actually have any unit tests yet. Change-Id: I6da11fb42c1b9568276359d2a6042d02effbd696
50 lines
1.2 KiB
INI
50 lines
1.2 KiB
INI
[tox]
|
|
envlist = pep8,py27,py34,py35
|
|
skipsdist = True
|
|
# NOTE(beisner): Avoid build/test env pollution by not enabling sitepackages.
|
|
sitepackages = False
|
|
# NOTE(beisner): Avoid false positives by not skipping missing interpreters.
|
|
skip_missing_interpreters = False
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
PYTHONHASHSEED=0
|
|
install_command =
|
|
pip install {opts} {packages}
|
|
commands = stestr run {posargs}
|
|
|
|
[testenv:py35]
|
|
basepython = python3.5
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
# TODO: Need to write unit tests then remove the following command.
|
|
commands = /bin/true
|
|
|
|
[testenv:py36]
|
|
basepython = python3.6
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
# TODO: Need to write unit tests then remove the following command.
|
|
commands = /bin/true
|
|
|
|
[testenv:py37]
|
|
basepython = python3.7
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
# TODO: Need to write unit tests then remove the following command.
|
|
commands = /bin/true
|
|
|
|
[testenv:py3]
|
|
basepython = python3
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
# TODO: Need to write unit tests then remove the following command.
|
|
commands = /bin/true
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands = flake8 {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
ignore = E402,E226
|