File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 4
4
- " 2.7"
5
5
- " 3.4"
6
6
# command to install dependencies
7
- install : " pip install -r requirements.txt"
7
+ install :
8
+ - " pip install -r requirements.txt"
9
+ - " pip install codecov"
10
+
8
11
# 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)
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/kubernetes-incubator/client-python.svg?branch=master )] ( https://travis-ci.org/kubernetes-incubator/client-python )
4
4
[ ![ 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 ")
5
6
6
7
Python client for the [ kubernetes] ( http://kubernetes.io/ ) API.
7
8
You can’t perform that action at this time.
0 commit comments