Skip to content

Commit b9220f3

Browse files
authored
Merge pull request #5 from usabilla/coveralls
Add support for coveralls
2 parents 73a9a6e + 9162f3a commit b9220f3

4 files changed

Lines changed: 14 additions & 3 deletions

File tree

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repo_token: hsG11rCAZDIPHwFx5BN7QBFm3CTnOT6OF

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ python:
33
- "2.7"
44
- "3.3"
55
install: "pip install -r requirements.txt"
6-
script: python tests.py
6+
script:
7+
- coverage run --source usabilla.py tests.py
8+
after_success:
9+
- coveralls

README.MD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
##Usabilla API - Python Client
22

33
[![Build Status](https://travis-ci.org/usabilla/api-python.svg?branch=master)](https://travis-ci.org/usabilla/api-python)
4+
[![PyPI version](https://badge.fury.io/py/usabilla-api.svg)](https://badge.fury.io/py/usabilla-api)
5+
[![Coverage Status](https://coveralls.io/repos/github/usabilla/api-python/badge.svg?branch=master)](https://coveralls.io/github/usabilla/api-python?branch=master)
46

57
The Usabilla Python client allows users to access data from their Usabilla accounts.
68
It makes use of the API to request the following products and resources:

requirements.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
requests>=2.5.0
2-
urllib3
1+
coverage==4.0.3
2+
python-coveralls==2.7.0
3+
PyYAML==3.12
4+
requests==2.11.1
5+
sh==1.11
6+
six==1.10.0
7+
urllib3==1.17

0 commit comments

Comments
 (0)