summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2019-10-24 14:17:04 +1100
committerDaniel Axtens <dja@axtens.net>2019-10-29 15:32:12 +1100
commit6bd63bd9313b2d6cdccb86bbec55636ac954364d (patch)
tree3df9a4f73228e98924db4002c558e9d3f838ee52 /tox.ini
parent7958e5631cf65b9e0595c6a3ae57aa6ff7ad0a55 (diff)
downloadpatchwork-6bd63bd9313b2d6cdccb86bbec55636ac954364d.tar
patchwork-6bd63bd9313b2d6cdccb86bbec55636ac954364d.tar.gz
travis, tox: only do coverage testing in py27
Currently Travis calls `tox -e coverage` unconditionally. However, the environment has py27 basepython, so all the runs only generate py27 coverage! Rather than try to untangle that, just run the coverage when run in a py27 travis environment. This makes things faster for no loss of coverage. It means that codecov has nothing to submit for the py3x environments, but that's no real loss: it would otherwise submit lots of duplicate data. We could try to improve coverage by running coverage for 27 and 3x, but given that 27 is going away, don't stress at this point. Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4267f47..140c192 100644
--- a/tox.ini
+++ b/tox.ini
@@ -86,4 +86,4 @@ commands =
[travis]
python =
- 2.7: py27, pep8
+ 2.7: py27, pep8, coverage