diff --git a/.gitignore b/.gitignore index d0e0434a456..ded052f8321 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,9 @@ build #Ignore the distribution directory dist + +#Ignore the directory created by tox (http://tox.testrun.org/) +.tox #Ignore backup files from some Unix editors, *~ diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000000..ea5f702de4a --- /dev/null +++ b/tox.ini @@ -0,0 +1,19 @@ +# 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 = py25, py26, py27, pypy, py32, jython + +[testenv] +changedir = Tests +commands = {envpython} run_tests.py --offline +deps = + numpy + +[testenv:py32] +changedir = build/py3.2/Tests +commands = {envpython} run_tests.py --offline +deps = + numpy