Skip to content

Commit d5153bc

Browse files
authored
Merge pull request #54 from kubernetes-incubator/o7
Adding codecov.io report and badge
2 parents 5677578 + 2220b7e commit d5153bc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ python:
44
- "2.7"
55
- "3.4"
66
# command to install dependencies
7-
install: "pip install -r requirements.txt"
7+
install:
8+
- "pip install -r requirements.txt"
9+
- "pip install codecov"
10+
811
# command to run tests
9-
script: nosetests
12+
script: nosetests --with-coverage --cover-package=kubernetes.config,kubernetes.watch --cover-tests
13+
14+
after_success:
15+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/kubernetes-incubator/client-python.svg?branch=master)](https://travis-ci.org/kubernetes-incubator/client-python)
44
[![PyPI version](https://badge.fury.io/py/kubernetes.svg)](https://badge.fury.io/py/kubernetes)
5+
[![codecov](https://codecov.io/gh/kubernetes-incubator/client-python/branch/master/graph/badge.svg)](https://codecov.io/gh/kubernetes-incubator/client-python "Non-generated packages only")
56

67
Python client for the [kubernetes](http://kubernetes.io/) API.
78

0 commit comments

Comments
 (0)