From 79c984d500307e2717d02fc9660b59b3f0bb6af1 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Thu, 10 Jul 2014 07:54:40 -0400 Subject: [PATCH 1/2] Add coverage file --- .coveragerc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..36c5468cb --- /dev/null +++ b/.coveragerc @@ -0,0 +1,15 @@ +[report] +include = + */account-financial-tools/* + +omit = + */tests/* + *__init__.py + +# Regexes for lines to exclude from consideration +exclude_lines = + # Have to re-enable the standard pragma + pragma: no cover + + # Don't complain about null context checking + if context is None: From 1eb8aea48efc6c31663ea2a95fb84779eaa644bf Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Thu, 10 Jul 2014 07:58:04 -0400 Subject: [PATCH 2/2] Add badges --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6108669d4..a362bf304 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +[![Build Status](https://travis-ci.org/OCA/account-financial-tools.svg?branch=7.0)](https://travis-ci.org/OCA/account-financial-tools) +[![Coverage Status](https://coveralls.io/repos/OCA/account-financial-tools/badge.png?branch=7.0)](https://coveralls.io/r/OCA/account-financial-tools?branch=7.0) + + Account financial Tools for Odoo/OpenERP ========================================