summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2017-09-07 10:19:28 -0500
committerJason Madden <jamadden@gmail.com>2017-09-07 11:05:24 -0500
commitaa0843930d15345982aab209bed72b9fa4bd64f4 (patch)
tree519394f72134d3b12c2c8b78b4f5baec8c2c1397 /.coveragerc
parent125c9a2818ebcf35a76d65c2f1dbe5c08531f21e (diff)
downloadzope-security-aa0843930d15345982aab209bed72b9fa4bd64f4.tar.gz
Switch to modern 'coverage' environment and run doctests on all versions
Based on #29. Drop Python 3.3. Enable coveralls on Travis CI, and also fix using interpreters that aren't there in the new default 'trusty' image. Coverage is not at 100% and in fact appears to have dropped (I show 92% in one run, vs the previous reported 97%), but that's because `coverage` and coveralls report files that aren't even imported (we have a lot of those in the 'tests' package)...nosetests didn't.
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..bb46267
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,12 @@
+[run]
+source = zope.security
+
+[report]
+precision = 2
+exclude_lines =
+ pragma: no cover
+ pragma NO COVER
+ if __name__ == '__main__':
+ raise NotImplementedError
+ self.fail
+ raise AssertionError