1 # Tox (http://tox.testrun.org/) is a tool for running tests
2 # in multiple virtualenvs. This configuration file will run the
3 # test suite on all supported python versions. To use it, "pip install tox"
4 # and then run "tox" from this directory.
7 envlist = py25, py26, py27, py31, py32, py33, pypy
11 {envpython
} setup.py
--quiet clean develop
13 # Create tests/zipmods.zip
14 # Install the egg1 egg
15 # Remove the C extension so that we can test the PyTracer
16 {envpython
} igor.py zip_mods install_egg remove_extension
18 # Test with the PyTracer
19 {envpython
} igor.py test_with_tracer py
{posargs
}
21 # Build the C extension and test with the CTracer
22 {envpython
} setup.py
--quiet build_ext
--inplace
23 {envpython
} igor.py test_with_tracer c
{posargs
}
30 # PyPy has no C extensions
32 COVERAGE_NO_EXTENSION=1