Turn on coverage/codecov in Travis
This commit is contained in:
parent
7237d9baa3
commit
8a02c85bde
11
.travis.yml
11
.travis.yml
@ -1,11 +1,14 @@
|
|||||||
# After changing this file, check it on:
|
# After changing this file, check it on:
|
||||||
# http://lint.travis-ci.org/
|
# http://lint.travis-ci.org/
|
||||||
|
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
#python:
|
#python:
|
||||||
# - 3.4
|
# - 3.4
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo pip install --upgrade pip
|
||||||
|
- sudo pip install --upgrade nose coverage codecov
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- time sudo apt-get update
|
- 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
|
- 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/
|
- mkdir -p ~/.gramps/grampsdb/
|
||||||
# --exclude=TestUser because of older version of mock
|
# --exclude=TestUser because of older version of mock
|
||||||
# without configure_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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user