summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-04 18:11:39 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-04 18:11:39 +0200
commit90a62b974222a01f9183d106de13d8b69b4dcf07 (patch)
tree9ee803031c33b77da57d8d97269f64b5e9413924
parent3966d2f86a251f372a7a17f39108925ab9459974 (diff)
downloadjasper-client-90a62b974222a01f9183d106de13d8b69b4dcf07.tar.gz
jasper-client-90a62b974222a01f9183d106de13d8b69b4dcf07.zip
Add coveralls.io code coverage info to jasper github repo
-rw-r--r--.coveragerc5
-rw-r--r--.travis.yml18
2 files changed, 19 insertions, 4 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/.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