Source

coverage.py / tox.ini

Marc Abramowitz a74e722 





Ned Batchelder b5b1052 
Marc Abramowitz a74e722 


Ned Batchelder 36fe68e 
Marc Abramowitz 5a0b16a 
Ned Batchelder 9c447e8 
Ned Batchelder 49c175a 
Ned Batchelder 6e84a1d 
Ned Batchelder 9c447e8 
Ned Batchelder 49c175a 
Marc Abramowitz 5a0b16a 
Ned Batchelder 49c175a 
Marc Abramowitz 5a0b16a 
Ned Batchelder 6e84a1d 
Ned Batchelder 92e5211 
Ned Batchelder 496dc67 
Ned Batchelder aa0ddef 
Ned Batchelder 6e84a1d 

Ned Batchelder f0918d2 
Ned Batchelder ba91bac 


Ned Batchelder 9c447e8 
Ned Batchelder ba91bac 
# 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, py31, py32, py33, pypy

[testenv]
commands =
    {envpython} setup.py --quiet clean develop

    # Create tests/zipmods.zip
    # Install the egg1 egg
    # Remove the C extension so that we can test the PyTracer
    {envpython} igor.py zip_mods install_egg remove_extension

    # Test with the PyTracer
    {envpython} igor.py test_with_tracer py {posargs}

    # Build the C extension and test with the CTracer
    {envpython} setup.py --quiet build_ext --inplace
    {envpython} igor.py test_with_tracer c {posargs}

deps =
    nose
    mock

[testenv:pypy]
# PyPy has no C extensions
setenv =
    COVERAGE_NO_EXTENSION=1