From 7de9a0068bc94e333cfede1760ab1c3150190d21 Mon Sep 17 00:00:00 2001 From: codecov-io Date: Tue, 14 Oct 2014 17:11:49 -0400 Subject: [PATCH 1/3] updated .coveragerc with coverage reporting requirements [ci skip] --- .coveragerc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..9bae97f --- /dev/null +++ b/.coveragerc @@ -0,0 +1,14 @@ +[run] +branch = True +source = firstdata + +[report] +ignore_errors = True +exclude_lines = + pragma: no cover + def __repr__ + if self\.debug + raise AssertionError + raise NotImplementedError + if 0: + if __name__ == .__main__.: From ac0d42d309ec81ff8d8bdd0392695faf4399988b Mon Sep 17 00:00:00 2001 From: codecov-io Date: Tue, 14 Oct 2014 17:11:50 -0400 Subject: [PATCH 2/3] updated .travis.yml with codecov comamnds [ci skip] --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 47f429a..afc21dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,6 @@ env: - secure: "lVbC9Y4Mo60z9cLLvwLut5b6dLkGqz+BBOaKvFRB6XMO4C0wbGVvF1478rQm\ntoZYFqTm1ydLVfe+8FGH70w0Osx5g9i/62sH1nDGmnrTl4yiH+wkz1ZngB4d\nd2Kd/n6Ve9g+Y2qCfNHJSla+CkuPhPoDwGENywZwWKhapFMZhGc=" script: - pip install tornado - - python -m firstdata.tests \ No newline at end of file + - coverage run -m firstdata.tests +after_success: codecov +install: pip install codecov From a51e5b4a0fae9bebda9ff4cd76bf6c7edfa59ec4 Mon Sep 17 00:00:00 2001 From: codecov-io Date: Tue, 14 Oct 2014 17:11:51 -0400 Subject: [PATCH 3/3] added codecov badge to README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4b3d7aa..bb18091 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://secure.travis-ci.org/stevepeak/firstdata.png)](http://travis-ci.org/stevepeak/firstdata) +[![codecov.io](https://codecov.io/github/stevepeak/firstdata/coverage.svg?branch=master)](https://codecov.io/github/stevepeak/firstdata?branch=master) ## Unofficial First Data's Global Gateway e4 Python Handler