diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2012-06-20 22:59:56 -0700 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2012-06-20 22:59:56 -0700 |
commit | 9cda5db249304e91b0e60120ed0fca29e0f32ba3 (patch) | |
tree | 193a4a96791330885bfd8c9c665477b940bc1fb1 | |
parent | c7d1c79367fa22c88a932d6a5e88095b74092fcf (diff) | |
download | python-coveragepy-git-9cda5db249304e91b0e60120ed0fca29e0f32ba3.tar.gz |
Add a tox.ini for tox (http://tox.testrun.org/)
-rw-r--r-- | .hgignore | 1 | ||||
-rw-r--r-- | tox.ini | 65 |
2 files changed, 66 insertions, 0 deletions
@@ -21,6 +21,7 @@ dist htmlcov
MANIFEST
setuptools-*.egg
+.tox
# Stuff in the test directory.
zipmods.zip
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..066a62f8 --- /dev/null +++ b/tox.ini @@ -0,0 +1,65 @@ +# 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 = py24_py, py25, py26, py27, py32, py33, pypy + +[testenv] +commands = + make --quiet testdata + nosetests +deps = nose + +[testenv:py24_py] +basepython = python2.4 +setenv = COVERAGE_TEST_TRACER=py + +[testenv:py24_c] +basepython = python2.4 +setenv = COVERAGE_TEST_TRACER=c + +[testenv:py25_py] +basepython = python2.5 +setenv = COVERAGE_TEST_TRACER=py + +[testenv:py25_c] +basepython = python2.5 +setenv = COVERAGE_TEST_TRACER=c + +[testenv:py26_py] +basepython = python2.6 +setenv = COVERAGE_TEST_TRACER=py + +[testenv:py26_c] +basepython = python2.6 +setenv = COVERAGE_TEST_TRACER=c + +[testenv:py27_py] +basepython = python2.7 +setenv = COVERAGE_TEST_TRACER=py + +[testenv:py27_c] +basepython = python2.7 +setenv = COVERAGE_TEST_TRACER=c + +[testenv:py32_py] +basepython = python3.2 +setenv = COVERAGE_TEST_TRACER=py + +[testenv:py32_c] +basepython = python3.2 +setenv = COVERAGE_TEST_TRACER=c + +[testenv:py33_py] +basepython = python3.3 +setenv = COVERAGE_TEST_TRACER=py + +[testenv:py33_c] +basepython = python3.3 +setenv = COVERAGE_TEST_TRACER=c + +[testenv:pypy_py] +basepython = pypy +setenv = COVERAGE_TEST_TRACER=py |