Skip to content

Commit ea3344a

Browse files
committed
Attempt to turn on coveralls tracking
1 parent 8fef4f8 commit ea3344a

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,11 @@ python:
99
- "3.3"
1010
- "3.4"
1111
- "3.5"
12-
13-
script: make -C tools/python test
12+
sudo: false
13+
install:
14+
- pip install coveralls
15+
script:
16+
- make -C tools/python test
17+
- if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then cd python && coverage run --source=phonenumbers ./testwrapper.py && coverage report -m && cd ..; fi
18+
after_success:
19+
- cd python && coveralls && cd ..

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
phonenumbers Python Library
22
===========================
33

4+
[![Coverage Status](https://coveralls.io/repos/daviddrysdale/python-phonenumbers/badge.svg?branch=dev&service=github)](https://coveralls.io/github/daviddrysdale/python-phonenumbers?branch=dev)
5+
46
This is a Python port of [Google's libphonenumber library](https://github.com/googlei18n/libphonenumber)
57
It supports Python 2.5-2.7 and Python 3.x (in the same codebase, with no
68
[2to3](http://docs.python.org/2/library/2to3.html) conversion needed).

0 commit comments

Comments
 (0)