Update tox.ini inline with other interfaces

Resync tox.ini file with other reactive interfaces to ensure a
consistent approach to tox targets.

Change-Id: I8736fd8229e3a3343eb1096a0f115e8ae5544211
This commit is contained in:
James Page 2018-10-04 17:02:37 +01:00
parent f55bd3a7f9
commit a56382cd24
1 changed files with 11 additions and 1 deletions

12
tox.ini
View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = lint,py34,py35 envlist = pep8,py27,py34,py35
skipsdist = True skipsdist = True
skip_missing_interpreters = True skip_missing_interpreters = True
@ -10,13 +10,23 @@ install_command =
pip install {opts} {packages} pip install {opts} {packages}
commands = ostestr {posargs} commands = ostestr {posargs}
[testenv:py27]
basepython = python2.7
deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:py34] [testenv:py34]
basepython = python3.4 basepython = python3.4
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:py35] [testenv:py35]
basepython = python3.5 basepython = python3.5
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:pep8] [testenv:pep8]
basepython = python2.7 basepython = python2.7