summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorankitjavalkar2017-03-09 18:13:11 +0530
committerankitjavalkar2017-03-09 18:19:42 +0530
commitf5fd0c9eae3d673209528db37e5848cb38a568e6 (patch)
tree46c0521525bdcb2e08c3c5bdbac1a763b73fee5e /.coveragerc
parent69951e247ea02196ec6e65324f77898d9ea389b3 (diff)
downloadonline_test-f5fd0c9eae3d673209528db37e5848cb38a568e6.tar.gz
online_test-f5fd0c9eae3d673209528db37e5848cb38a568e6.tar.bz2
online_test-f5fd0c9eae3d673209528db37e5848cb38a568e6.zip
Add coverage:
- Add coverage prerequisite to requirements - Add coverage config file - Add coverage command to travis
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..4ac9a45
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,12 @@
+[run]
+branch = True
+source = .
+omit =
+ *tests*
+ *migrations*
+
+[report]
+exclude_lines =
+ except ImportError:
+ raise NotImplementedError
+ if __name__ == .__main__.: \ No newline at end of file