summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-05-19 23:42:30 +0200
committerSebastian Thiel <byronimo@gmail.com>2014-05-19 23:42:55 +0200
commit13e3a809554706905418a48b72e09e2eba81af2d (patch)
tree0e19b80f148bea4d001a4ec5823cdf95467068d8
parentf9b915b066f28f4ac7382b855a8af11329e3400d (diff)
downloadgitpython-13e3a809554706905418a48b72e09e2eba81af2d.tar.gz
Added coverage report
-rw-r--r--.coveragerc10
-rw-r--r--.gitignore2
-rw-r--r--.travis.yml5
-rw-r--r--README.md1
4 files changed, 17 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 00000000..410ffc52
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,10 @@
+[run]
+source = git
+
+; to make nosetests happy
+[report]
+omit =
+ */yaml*
+ */tests/*
+ */python?.?/*
+ */site-packages/nose/* \ No newline at end of file
diff --git a/.gitignore b/.gitignore
index eec80860..df821cfa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,8 @@
*.swp
*~
/lib/GitPython.egg-info
+cover/
+.coverage
/build
/dist
/doc/_build
diff --git a/.travis.yml b/.travis.yml
index 2a56becc..0a2906dc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,5 +7,8 @@ python:
install:
- git submodule update --init --recursive
- git fetch --tags
+ - pip install coveralls
script:
- - nosetests
+ - nosetests --with-coverage
+# after_success: as long as we are not running smoothly ... give it the cover treatment every time
+ - coveralls
diff --git a/README.md b/README.md
index d978917b..818e3751 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,7 @@ A distribution package can be obtained for manual installation at:
### DEVELOPMENT STATUS
[![Build Status](https://travis-ci.org/gitpython-developers/GitPython.svg?branch=0.3)](https://travis-ci.org/gitpython-developers/GitPython)
+[![Coverage Status](https://coveralls.io/repos/gitpython-developers/GitPython/badge.png)](https://coveralls.io/r/gitpython-developers/GitPython)
The project was idle for 2 years, the last release was made about 3 years ago. Reason for this might have been the project's dependency on me as sole active maintainer, which is an issue in itself.