Skip to content

Commit 6e81898

Browse files
committed
Add pure reader to Coveralls
1 parent 5bb6996 commit 6e81898

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ before_install:
1616
- sudo make install
1717
- sudo ldconfig
1818
- cd ..
19-
- pip install pylint
19+
- pip install pylint coveralls
2020
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
2121

2222
script:
2323
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
24-
- MAXMINDDB_PURE_PYTHON=1 python setup.py test
24+
- MAXMINDDB_PURE_PYTHON=1 coverage run --source=maxminddb setup.py test
2525
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pylint --rcfile .pylintrc maxminddb/*.py; fi
2626

27+
after_success:
28+
- coveralls
29+
2730
notifications:
2831
email:
2932
recipients:

0 commit comments

Comments
 (0)