diff --git a/.travis.yml b/.travis.yml index 4304fd1c5..4e33ebb51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 +