Add tox.ini file.

Adds support for using tox to do multi-version unittesting.

Change-Id: I4476c44dd99b22d6ef96696848363d994670bf7d
This commit is contained in:
Monty Taylor 2011-12-30 14:54:19 -08:00
parent 97d7b16f03
commit b921f21afe

14
tox.ini Normal file
View 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