diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2014-05-27 12:41:05 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2014-05-27 12:41:05 +0200 |
commit | b30138078f76cd532e7bbef6548f0d5fac71d3a1 (patch) | |
tree | d6ac31f87bc0245413cadbe2859aa99af39c8001 | |
parent | db1c6723522198b0010d66130617fb43d1fe2469 (diff) | |
download | pysendfile-b30138078f76cd532e7bbef6548f0d5fac71d3a1.tar.gz |
add tox file
-rw-r--r-- | HISTORY.rst | 1 | ||||
-rw-r--r-- | tox.ini | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index 9080e9b..fd6dfb8 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -9,6 +9,7 @@ Version 2.0.1 (unreleased) - #22: pysendfile won't compile on python 3.4 - #23: add a Makefile - #24: use of travis continuous integration +- #25: use tox for multiple python versions testing Version 2.0.0 - 2012-01-12 ========================== @@ -0,0 +1,27 @@ +# 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 run "pip install tox" and then run "tox" from this +# directory. + +[tox] +envlist = py26, py27, py32, py33, py34 + +[testenv] +deps = + pytest + flake8 +setenv = + PYTHONPATH = {toxinidir}/test +commands = + python test/test_sendfile.py + flake8 --exclude=build,.tox,.git + +[testenv:py26] +deps = + flake8 + pytest + unittest2 +commands = + python test/test_sendfile.py + flake8 --exclude=build,.tox,.git |