diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-04-22 09:48:07 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-04-22 13:35:46 +0200 |
commit | d3dfd1ae7f09128893ccec1bfe7e1bb076d33b0a (patch) | |
tree | 138033914ccd00dd75763c6c03cb6e3785135e2e | |
parent | f5d3643965f51748b08b616b2898e53242673a67 (diff) |
Add tox.ini
To allow testing different python versions
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tox.ini | 13 |
2 files changed, 14 insertions, 0 deletions
@@ -1,4 +1,5 @@ .coverage +.tox *.pyc *~ build/ @@ -0,0 +1,13 @@ +# 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 = py27, py33, py34 + +[testenv] +commands = python setup.py nosetests +deps = + nose + mock |