Add tox.ini file.
Adds support for using tox to do multi-version unittesting. Change-Id: I4476c44dd99b22d6ef96696848363d994670bf7d
This commit is contained in:
parent
97d7b16f03
commit
b921f21afe
14
tox.ini
Normal file
14
tox.ini
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[tox]
|
||||||
|
envlist = py26,py27
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
deps = -r{toxinidir}/tools/pip-requires
|
||||||
|
commands = /bin/bash run_tests.sh -N
|
||||||
|
|
||||||
|
[testenv:pep8]
|
||||||
|
deps = pep8
|
||||||
|
commands = /bin/bash run_tests.sh -N --pep8
|
||||||
|
|
||||||
|
[testenv:coverage]
|
||||||
|
deps = coverage
|
||||||
|
commands = /bin/bash run_tests.sh -N --coverage
|
Loading…
Reference in New Issue
Block a user