Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 9d8c50d

Browse files
committed
Merge pull request #6 from singingwolfboy/coveralls
Integrate Coveralls.io for coverage tracking
2 parents 7ced33e + a4b8530 commit 9d8c50d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ python:
33
- "2.6"
44
- "2.7"
55
- "3.4"
6-
install: pip install -r requirements.txt
6+
install:
7+
- pip install -r requirements.txt
8+
- pip install coveralls
79
script: make check
10+
after_success: coveralls
811
notifications:
912
email: false

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ check: pep8 pyflakes test
2525
@coverage report | grep 100% >/dev/null || { echo 'Unit tests coverage is incomplete.'; exit 1; }
2626

2727
docs:
28-
@python -c 'import backoff ; print "# backoff" ; print "\n[![Build Status](https://travis-ci.org/litl/backoff.png?branch=master)](https://travis-ci.org/litl/backoff?branch=master)" ; print backoff.__doc__' > README.md
28+
@python -c 'import backoff ; print "# backoff" ; print "\n[![Build Status](https://travis-ci.org/litl/backoff.svg?branch=master)](https://travis-ci.org/litl/backoff?branch=master) [![Coverage Status](https://coveralls.io/repos/litl/backoff/badge.svg?branch=master)](https://coveralls.io/r/edx/opaque-keys?branch=master)" ; print backoff.__doc__' > README.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# backoff
22

3-
[![Build Status](https://travis-ci.org/litl/backoff.png?branch=master)](https://travis-ci.org/litl/backoff?branch=master)
3+
[![Build Status](https://travis-ci.org/litl/backoff.svg?branch=master)](https://travis-ci.org/litl/backoff?branch=master) [![Coverage Status](https://coveralls.io/repos/litl/backoff/badge.svg?branch=master)](https://coveralls.io/r/edx/opaque-keys?branch=master)
44

55
Function decoration for pluggable backoff and retry
66

0 commit comments

Comments
 (0)