summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-09-02 10:20:47 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-09-02 10:20:47 -0400
commitc4b8795e2984bd51f2a6a43a88259c65d62b4a6e (patch)
tree892478e3ed2f4108c3c8d5b690b18d5857437b6c /tox.ini
parent885552699ffa4e5293e24c2d8e7bc75ad75c3c07 (diff)
downloadpython-coveragepy-c4b8795e2984bd51f2a6a43a88259c65d62b4a6e.tar.gz
Don't attempt the C extension under PyPy.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index f4c8df9..8e4cc1c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,7 +7,9 @@
envlist = py24, py25, py26, py27, py31, py32, py33, pypy
[testenv]
-setenv = PYTHONPATH=test/eggsrc
+setenv =
+ PYTHONPATH=test/eggsrc
+
commands =
{envpython} setup.py clean
{envpython} setup.py develop
@@ -28,3 +30,9 @@ commands =
deps =
nose
mock
+
+[testenv:pypy]
+# PyPy has no C extensions
+setenv =
+ PYTHONPATH=test/eggsrc
+ COVERAGE_NO_EXTENSION=1