Skip to content
This repository was archived by the owner on Jun 12, 2019. It is now read-only.

Commit c4fcb27

Browse files
author
Nicolas Le Manchet
committed
Test the code coverage
1 parent e60ddec commit c4fcb27

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

Diff for: .coveragerc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[run]
2+
source = runabove
3+
4+
[report]
5+
omit = */tests/*

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ build/
44
dist/
55
python_runabove.egg-info/
66
venv/
7+
.coverage

Diff for: .travis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ python:
44
install:
55
- "python setup.py install"
66
- "pip install -r test-requirements.txt"
7-
script: python setup.py test
7+
- "pip install coverage"
8+
- "pip install coveralls"
9+
script: coverage run setup.py test
10+
after_success:
11+
coveralls

0 commit comments

Comments
 (0)