summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorJoern Hees <gitdev@joernhees.de>2013-06-21 14:10:19 +0200
committerJoern Hees <gitdev@joernhees.de>2013-06-23 16:38:25 +0200
commitabf07edb5d67fa6a2c1d20caa8681153b1e5e39b (patch)
tree05b0db9f5a52a797b44d798522adb4dd06b46116 /.coveragerc
parent682d8161b5b0f1788b0f72a44a7dcdd37e57dad0 (diff)
downloadrdflib-abf07edb5d67fa6a2c1d20caa8681153b1e5e39b.tar.gz
coveralls ci, badge in readme. resolves #308
this squashes the several trial and error attempts to get the integration running from the coveralls-ci branch into a single commit, as that stuff is mostly rdflib unrelated.
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc35
1 files changed, 35 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 00000000..dd85d317
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,35 @@
+# .coveragerc to control coverage.py
+[run]
+branch = True
+#source = rdflib,build/src/rdflib # specified in .travis.yml for different envs
+omit = */site-packages/*
+
+[report]
+# Regexes for lines to exclude from consideration
+exclude_lines =
+ # Have to re-enable the standard pragma
+ pragma: no cover
+
+ # Don't complain about missing debug-only code:
+ #def __repr__
+ #if self\.debug
+
+ # Don't complain if tests don't hit defensive assertion code:
+ #raise AssertionError
+ #raise NotImplementedError
+
+ # Don't complain if non-runnable code isn't run:
+ if 0:
+ if __name__ == .__main__.:
+
+# path mappings for the py3 environments (doesn't seem to work on coveralls yet)
+[paths]
+source =
+ rdflib/
+ build/src/rdflib/
+tests =
+ test/
+ build/src/test/
+examples =
+ examples/
+ build/src/examples/