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