Skip to content

Commit a5cba9f

Browse files
author
tim
committedJun 8, 2016
Add code coverage
1 parent ad14f21 commit a5cba9f

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
 

‎.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ python:
44
- 3.5
55
install:
66
- pip install --process-dependency-links -e .[test]
7-
script: python -m pytest -v
7+
script: python -m pytest -v --cov tests
8+
after_success: codecov

‎codecov.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
codecov:
2+
branch: master
3+
bot: TimDaub
4+
5+
coverage:
6+
precision: 2
7+
round: down
8+
range: "70...100"
9+
10+
status:
11+
project:
12+
default:
13+
target: auto
14+
if_no_uploads: error
15+
16+
patch:
17+
default:
18+
target: "80%"
19+
if_no_uploads: error
20+
21+
ignore:
22+
- "tests/*"
23+
24+
comment:
25+
layout: "header, diff, changes, sunburst, uncovered"
26+
behavior: default

0 commit comments

Comments
 (0)
Please sign in to comment.