Skip to content

Commit 2ae1dfb

Browse files
committed
Tweak coverage reporting
1 parent 5ec0add commit 2ae1dfb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ branch = True
55
source =
66
src
77
tests
8+
9+
omit =
10+
# This is purely backported test support code:
11+
# we don't use all its functionality.
12+
tests/script_helper.py

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ matrix:
99
- { python: 'pypy', env: TOXENV=pypy }
1010
- { python: 'pypy3', env: TOXENV=pypy3 }
1111

12-
# Limit coverage reporting only to the latest Python 2 and 3 versions.
12+
# Report coverage for the latest Python 3 and 3 versions, and for PyPy,
13+
# to cover all the interesting code paths.
1314
- { python: '2.7', env: TOXENV=py27-codecov }
1415
- { python: '3.5', env: TOXENV=py35-codecov }
16+
- { python: 'pypy', env: TOXENV=pypy-codecov }
1517

1618
allow_failures:
1719
# PyPy3 on Travis seems to be broken, as of 2016-02.

0 commit comments

Comments
 (0)