Turn on coverage/codecov in Travis

This commit is contained in:
Doug Blank 2016-02-13 08:09:03 -05:00
parent 7237d9baa3
commit 8a02c85bde

View File

@ -1,11 +1,14 @@
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
#python:
# - 3.4
before_install:
- sudo pip install --upgrade pip
- sudo pip install --upgrade nose coverage codecov
install:
- time sudo apt-get update
- travis_retry sudo apt-get install gir1.2-pango gir1.2-gtk xdg-utils librsvg2-common libglib2.0-dev intltool
@ -28,4 +31,8 @@ script:
- mkdir -p ~/.gramps/grampsdb/
# --exclude=TestUser because of older version of mock
# without configure_mock
- nosetests3 --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test --exclude=user_test gramps
- nosetests3 --with-coverage --cover-package=gramps --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test --exclude=user_test gramps
after_success:
- codecov