aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tox.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 4d17ebe8..88e74219 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,9 +3,12 @@ envlist = py26,py27,pypy,py32,py33,docs,pep8
[testenv]
deps =
- pytest-cov
+ pytest
+ coverage
pretend
-commands = py.test --cov=cryptography/ --cov=tests/
+commands =
+ coverage run --source=cryptography/,tests/ -m pytest
+ coverage report
[testenv:docs]
deps = sphinx