diff --git a/.coveragerc b/.coveragerc index 9c3778ec78c..c8a52c289bd 100644 --- a/.coveragerc +++ b/.coveragerc @@ -7,8 +7,9 @@ ignore_errors = True precision = 0 show_missing = True skip_covered = True -exclude_lines = +exclude_lines = pragma: no cover + pragma: needs cover pragma: can't cover def __repr__ if self.debug: @@ -25,7 +26,6 @@ omit = *__init__* *settings* temba/perf_tests.py - temba/wsgi.py temba/flows/management/commands/run_audit.py temba/contacts/management/commands/audit_es_group.py temba/msgs/management/commands/msg_console.py diff --git a/.coveragerc_failcheck b/.coveragerc_todo similarity index 95% rename from .coveragerc_failcheck rename to .coveragerc_todo index c8a52c289bd..9c3778ec78c 100644 --- a/.coveragerc_failcheck +++ b/.coveragerc_todo @@ -7,9 +7,8 @@ ignore_errors = True precision = 0 show_missing = True skip_covered = True -exclude_lines = +exclude_lines = pragma: no cover - pragma: needs cover pragma: can't cover def __repr__ if self.debug: @@ -26,6 +25,7 @@ omit = *__init__* *settings* temba/perf_tests.py + temba/wsgi.py temba/flows/management/commands/run_audit.py temba/contacts/management/commands/audit_es_group.py temba/msgs/management/commands/msg_console.py diff --git a/.travis.yml b/.travis.yml index 666c085efd7..526ec2f2584 100644 --- a/.travis.yml +++ b/.travis.yml @@ -106,10 +106,9 @@ script: - set +e after_success: - - pip install pyopenssl==17.4.0 - - coveralls --rcfile .coveragerc_failcheck - - coverage report -i --rcfile .coveragerc - - coverage report -i --rcfile .coveragerc_failcheck --fail-under=100 + - pip install codecov + - codecov + - coverage report -i --rcfile .coveragerc_todo notifications: slack: diff --git a/README.md b/README.md index 14b361844d3..6e4e6aca18a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -[![Coverage Status](https://coveralls.io/repos/github/rapidpro/rapidpro/badge.svg?branch=master)](https://coveralls.io/github/rapidpro/rapidpro?branch=master) - -# RapidPro +# RapidPro [![Build Status](https://travis-ci.org/rapidpro/rapidpro.svg?branch=master)](https://travis-ci.org/rapidpro/rapidpro) [![codecov](https://codecov.io/gh/rapidpro/rapidpro/branch/master/graph/badge.svg)](https://codecov.io/gh/rapidpro/rapidpro) RapidPro is a hosted service for visually building interactive messaging applications. To learn more, please visit the project site at http://rapidpro.github.io/rapidpro.