Skip to content

Commit f9ba3ae

Browse files
committed
Adds coveralls support
1 parent 4929a3d commit f9ba3ae

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.coveragerc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[report]
2+
omit =
3+
*/python?.?/*
4+
*/site-packages/nose/*

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
language: python
22
python:
33
- "2.7"
4-
install: "pip install -r requirements.txt"
4+
install:
5+
- pip install -r requirements.txt
6+
- pip install python-coveralls
7+
- pip install coverage
8+
- pip install nose
59
script:
6-
- python setup.py install
7-
- python test.py
10+
- python setup.py install
11+
- nosetests --with-coverage
12+
after_success:
13+
- coveralls

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/python-loklak-api.svg?branch=master)](https://travis-ci.org/loklak/python-loklak-api)
4+
[![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)
45
[![Code Health](https://landscape.io/github/loklak/python-loklak-api/master/landscape.svg?style=flat)](https://landscape.io/github/loklak/python-loklak-api/master)
56
--------------------------------------------
67

0 commit comments

Comments
 (0)