Skip to content

Commit f5df49d

Browse files
committed
Added Codecov coverage reporting
1 parent e2819f1 commit f5df49d

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ language: python
22
python:
33
- 2.7
44
script:
5-
- nosetests
5+
- nosetests --with-coverage
6+
after_success: codecov
7+
install: pip install codecov

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Hello world
1+
Hello world [![codecov.io](https://codecov.io/github/codecov-test/python-2/coverage.svg?branch=master)](https://codecov.io/github/codecov-test/python-2?branch=master)
22
=======

circle.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ machine:
44

55
dependencies:
66
override:
7+
- pip install codecov
78
- pip install -r requirements.txt
89

910
test:
1011
override:
11-
- nosetests
12+
- nosetests --with-coverage
13+
post:
14+
- codecov

0 commit comments

Comments
 (0)