Skip to content

Commit 89ebf6b

Browse files
committed
add coverage and codecov
1 parent 5c7c54c commit 89ebf6b

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Diff for: .coveragerc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[run]
2+
branch = True
3+
source = ksql
4+
5+
[report]
6+
include =
7+
ksql/*
8+
tests/*

Diff for: .travis.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ python:
77
- "3.6"
88
# command to install dependencies
99
install:
10-
- pip install nose vcrpy
10+
- pip install nose vcrpy codecov coverage
1111
- pip install -r requirements.txt
1212
# command to run tests
13-
script: nosetests
13+
script: nosetests --with-coverage --cover-erase
14+
15+
after_success:
16+
- codecov

0 commit comments

Comments
 (0)