Skip to content

Commit 9ebe165

Browse files
committed
Test coverage again
1 parent 4f18c33 commit 9ebe165

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ before_install:
1919
- sudo make install
2020
- sudo ldconfig
2121
- cd ..
22-
- pip install coveralls
22+
- pip install coverage coveralls
2323
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install pylint yapf; fi
2424
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
2525

2626
script:
2727
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export MM_FORCE_EXT_TESTS=1; fi
28-
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
28+
- CFLAGS="-Werror -Wall -Wextra" coverage run --source maxminddb setup.py test
2929
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pylint --rcfile .pylintrc maxminddb/*.py; fi
3030
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then ./.travis-yapf.sh; fi
3131

0 commit comments

Comments
 (0)