461c52ed84
This commit enables running the unit tests on Travis for Python 2.6, 2.7, 3.3, and 3.4. Note that Travis does not support Python 2.4, so we cannot test there.
18 lines
529 B
INI
18 lines
529 B
INI
# Tox (http://tox.testrun.org/) is a tool for running tests
|
|
# in multiple virtualenvs. This configuration file will run the
|
|
# test suite on all supported python versions. To use it, "pip install tox"
|
|
# and then run "tox" from this directory.
|
|
|
|
[tox]
|
|
envlist = py24,py26,py27,py33,py34
|
|
|
|
[testenv]
|
|
commands = nosetests {posargs}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
# At some point we should enable this since tox expects it to exist but
|
|
# the code will need pep8ising first.
|
|
#[testenv:pep8]
|
|
#commands = flake8
|
|
#dep = flake8
|