Add support for tox
This commit is contained in:
parent
d807c60346
commit
6a449d497a
|
@ -22,4 +22,7 @@ coverage.xml
|
|||
nosetests.xml
|
||||
junit-py25.xml
|
||||
junit-py26.xml
|
||||
junit-py27.xml
|
||||
junit-py27.xml
|
||||
|
||||
# tox noise
|
||||
.tox
|
||||
|
|
3
setup.py
3
setup.py
|
@ -49,6 +49,9 @@ setup(
|
|||
'tablib', 'tablib.formats',
|
||||
'tablib.packages',
|
||||
'tablib.packages.xlwt',
|
||||
'tablib.packages.xlrd',
|
||||
'tablib.packages.omnijson',
|
||||
'tablib.packages.odf',
|
||||
'tablib.packages.openpyxl',
|
||||
'tablib.packages.openpyxl.shared',
|
||||
'tablib.packages.openpyxl.reader',
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
# 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 = py26, py27, py32, pypy
|
||||
|
||||
[testenv]
|
||||
commands = python setup.py test
|
||||
deps =
|
||||
pytest
|
||||
PyYAML
|
||||
xlrd
|
||||
omnijson
|
Loading…
Reference in New Issue