Skip to content

Commit 07b51d4

Browse files
committed
Add coverage and coveralls
1 parent 1d44007 commit 07b51d4

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Diff for: .coveragerc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
branch = True
3+
source = jsonpath_rw

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99
/README.txt
1010
/dist
1111
/*.egg-info
12+
13+
.coverage

Diff for: .travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ python:
77
install:
88
- "pip install . --use-mirrors"
99
- "pip install pytest --use-mirrors"
10-
script: py.test
10+
- "pip install coverage coveralls"
11+
script: coverage run setup.py test
12+
after_success:
13+
- coveralls

0 commit comments

Comments
 (0)