Skip to content

Commit 4d1a7bf

Browse files
committed
Fixes#83 Adds Codecov Support and generate coverage report
1 parent 1cf987d commit 4d1a7bf

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ script:
1616
- pydocstyle
1717
after_success:
1818
- coveralls
19+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Python Loklak API
22
[![PyPI version](https://badge.fury.io/py/python-loklak-api.svg)](https://badge.fury.io/py/python-loklak-api)
33
[![Build Status](https://travis-ci.org/loklak/loklak_python_api.svg?branch=master)](https://travis-ci.org/loklak/loklak_python_api)
4+
[![Codecov branch](https://img.shields.io/codecov/c/github/loklak/loklak_python_api/master.svg?style=flat-square&label=Codecov+Coverage)](https://codecov.io/gh/loklak/loklak_python_api)
45
[![Coverage Status](https://coveralls.io/repos/github/loklak/loklak_python_api/badge.svg?branch=master)](https://coveralls.io/github/loklak/loklak_python_api?branch=master)
56
[![Code Health](https://landscape.io/github/loklak/loklak_python_api/master/landscape.svg?style=flat)](https://landscape.io/github/loklak/loklak_python_api/master)
67
[![Dependency Status](https://gemnasium.com/badges/github.com/loklak/loklak_python_api.svg)](https://gemnasium.com/github.com/loklak/loklak_python_api)

codecov.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
codecov:
2+
notify:
3+
require_ci_to_pass: yes
4+
5+
coverage:
6+
precision: 2
7+
round: down
8+
range: "70...100"
9+
10+
status:
11+
project: yes
12+
patch: yes
13+
changes: no
14+
15+
comment:
16+
layout: "reach, diff, flags, files, footer"
17+
behavior: default
18+
require_changes: no

0 commit comments

Comments
 (0)