Skip to content

Commit

Permalink
Merge pull request #54 from kubernetes-incubator/o7
Browse files Browse the repository at this point in the history
Adding codecov.io report and badge
  • Loading branch information
mbohlool authored Dec 2, 2016
2 parents 5677578 + 2220b7e commit d5153bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ python:
- "2.7"
- "3.4"
# command to install dependencies
install: "pip install -r requirements.txt"
install:
- "pip install -r requirements.txt"
- "pip install codecov"

# command to run tests
script: nosetests
script: nosetests --with-coverage --cover-package=kubernetes.config,kubernetes.watch --cover-tests

after_success:
- bash <(curl -s https://codecov.io/bash)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://travis-ci.org/kubernetes-incubator/client-python.svg?branch=master)](https://travis-ci.org/kubernetes-incubator/client-python)
[![PyPI version](https://badge.fury.io/py/kubernetes.svg)](https://badge.fury.io/py/kubernetes)
[![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")

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

Expand Down

0 comments on commit d5153bc

Please sign in to comment.