summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-05 00:52:06 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-05 00:52:06 +0200
commit890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a (patch)
treebecee8875852e9a942e6d53d161d009b69d35706
parent3966d2f86a251f372a7a17f39108925ab9459974 (diff)
parent807d2590988070a1aaf6009f31e41bcc6ee37f92 (diff)
downloadjasper-client-890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a.tar.gz
jasper-client-890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a.zip
Merge pull request #214 from Holzhaus/code-coverage
Code coverage information
-rw-r--r--.coveragerc5
-rw-r--r--.gitignore1
-rw-r--r--.travis.yml15
-rw-r--r--README.md2
4 files changed, 17 insertions, 6 deletions
diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..b2ddda4
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,5 @@
+[report]
+omit =
+ */python?.?/*
+ */site-packages/nose/*
+ *__init__* \ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 08cf7c5..c51258e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@ client/profile.yml
build/*
server/dump.rdb
other/*
+.coverage \ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 09e0aec..ca19c58 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,13 @@
-language: python
-
env:
- ARCH=x86
-
-script:
+language: python
+python:
+ - "2.7"
+install:
- "pip install -r client/requirements.txt"
- - "cd client && python test.py --light"
+ - "pip install python-coveralls"
+ - "pip install coverage"
+script:
+ - "coverage run client/test.py --light"
+after_success:
+ - "coveralls" \ No newline at end of file
diff --git a/README.md b/README.md
index 11715be..2ff57cd 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
jasper-client
=============
-[![Build Status](https://travis-ci.org/jasperproject/jasper-client.svg?branch=master)](https://travis-ci.org/jasperproject/jasper-client)
+[![Build Status](https://travis-ci.org/jasperproject/jasper-client.svg?branch=master)](https://travis-ci.org/jasperproject/jasper-client) [![Coverage Status](https://img.shields.io/coveralls/jasperproject/jasper-client.svg)](https://coveralls.io/r/jasperproject/jasper-client)
Client code for the Jasper voice computing platform. Jasper is an open source platform for developing always-on, voice-controlled applications.