summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Hahler <github@thequod.de>2018-10-30 13:18:52 +0100
committerChris Dent <chris.dent@gmail.com>2018-10-30 12:18:52 +0000
commit495ff974d1a972f3751bd6d142813f326bc3f1c1 (patch)
tree90e7f4856f2ba2243cad517d0c778e4e1c34e09c /tox.ini
parent36e5b8bd16a6063ec654faf04541f3a20d19f7fe (diff)
downloadpaste-git-495ff974d1a972f3751bd6d142813f326bc3f1c1.tar.gz
Enable coverage reporting via codecov (#10)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 8ac2e18..291442d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,8 +2,13 @@
envlist = py27, py35, py36, py37, pypy
[testenv]
+# For performance, but also for using "source" with coveragepy (https://github.com/nedbat/coveragepy/issues/268).
+usedevelop = True
deps =
pytest
- pytest-cov
+ coverage: coverage
+ coverage: pytest-cov
+setenv =
+ coverage: PYTEST_ADDOPTS=--cov --cov-report=term-missing
commands =
py.test {posargs}