Created
May 1, 2013 16:17
-
-
Save ssokolow/5496286 to your computer and use it in GitHub Desktop.
Boilerplate for making a coverage.io run on a Travis-CI Python project which cleanly skips py25, doesn't crash under pypy, and ignores nose, Python stdlib, and backported modules like unittest2 and ordereddict.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[run] | |
omit = | |
*/python?.?/* | |
*/lib-python/?.?/*.py | |
*/lib_pypy/_*.py | |
*/site-packages/ordereddict.py | |
*/site-packages/nose/* | |
*/unittest2/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install: | |
- if [[ $TRAVIS_PYTHON_VERSION != '2.5' ]]; then pip install coveralls --use-mirrors && export HAS_COVERALLS=1; fi | |
after_success: | |
- if [[ $HAS_COVERALLS ]]; then coveralls; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment