From 90a62b974222a01f9183d106de13d8b69b4dcf07 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 4 Oct 2014 18:11:39 +0200 Subject: Add coveralls.io code coverage info to jasper github repo --- .coveragerc | 5 +++++ .travis.yml | 18 ++++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .coveragerc 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/.travis.yml b/.travis.yml index 09e0aec..e4f154b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,18 @@ -language: python - env: - ARCH=x86 +language: python + +python: + - 2.7 + +install: + - pip install -r client/requirements.txt + - pip install python-coveralls + - pip install coverage + script: - - "pip install -r client/requirements.txt" - - "cd client && python test.py --light" + - coverage run client/test.py --light + +after_success: + - coveralls \ No newline at end of file -- cgit v1.3.1 From 406cca8bc741e561c65099bd2b5686e6b8579e5f Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 4 Oct 2014 18:12:55 +0200 Subject: Add coveralls.io information to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.3.1 From e464041756b2a3fba180250043158a82abcf3cd6 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 4 Oct 2014 18:14:03 +0200 Subject: Add coverage file to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.3.1 From 807d2590988070a1aaf6009f31e41bcc6ee37f92 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 4 Oct 2014 18:16:54 +0200 Subject: Fix travis formatting --- .travis.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index e4f154b..ca19c58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,13 @@ env: - ARCH=x86 - language: python - python: - - 2.7 - + - "2.7" install: - - pip install -r client/requirements.txt - - pip install python-coveralls - - pip install coverage - + - "pip install -r client/requirements.txt" + - "pip install python-coveralls" + - "pip install coverage" script: - - coverage run client/test.py --light - + - "coverage run client/test.py --light" after_success: - - coveralls \ No newline at end of file + - "coveralls" \ No newline at end of file -- cgit v1.3.1