2015-03-13 08:59:10 +05:30
|
|
|
# After changing this file, check it on:
|
|
|
|
# http://lint.travis-ci.org/
|
|
|
|
|
2016-01-24 03:35:01 +05:30
|
|
|
language: python
|
2016-02-29 04:25:37 +05:30
|
|
|
python:
|
2016-03-08 10:15:12 +05:30
|
|
|
- 3.4
|
|
|
|
sudo: false
|
|
|
|
cache: pip
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gir1.2-pango-1.0
|
|
|
|
- gir1.2-gtk-3.0
|
|
|
|
- xdg-utils
|
|
|
|
- librsvg2-common
|
|
|
|
- libglib2.0-dev
|
|
|
|
- intltool
|
|
|
|
# - python3-gobject Provided by python3-gi
|
|
|
|
- python3-gi
|
|
|
|
- python3-cairo
|
|
|
|
- python3-gi-cairo
|
|
|
|
- python3-bsddb3
|
|
|
|
- python3-dev
|
|
|
|
- python3-nose
|
|
|
|
- python3-mock
|
2015-03-13 08:59:10 +05:30
|
|
|
|
2016-02-29 04:50:37 +05:30
|
|
|
before_install:
|
2016-03-08 10:15:12 +05:30
|
|
|
- pip install --upgrade pip
|
|
|
|
- pip install --upgrade setuptools wheel nose coverage codecov
|
2016-02-29 04:50:37 +05:30
|
|
|
|
2015-03-13 08:59:10 +05:30
|
|
|
install:
|
2016-03-08 10:15:12 +05:30
|
|
|
- travis_retry pip install --upgrade pillow
|
|
|
|
- travis_retry pip install pyicu==1.8
|
|
|
|
|
|
|
|
# - cd $TRAVIS_BUILD_DIR
|
|
|
|
# $TRAVIS_BUILD_DIR is set to the location of the cloned repository:
|
|
|
|
# for example: /home/travis/build/gramps-project/gramps
|
|
|
|
- python setup.py build
|
|
|
|
|
|
|
|
before_script:
|
2015-03-15 11:05:14 +05:30
|
|
|
# - sudo Xvfb :99 -ac &
|
|
|
|
# - export DISPLAY=:99
|
2016-03-08 10:15:12 +05:30
|
|
|
- mkdir -p ~/.gramps/grampsdb/
|
2015-03-15 10:36:09 +05:30
|
|
|
|
2015-03-13 08:59:10 +05:30
|
|
|
script:
|
2016-03-08 10:15:12 +05:30
|
|
|
# --exclude=TestUser because of older version of mock
|
|
|
|
# without configure_mock
|
|
|
|
- nosetests3 --nologcapture --with-coverage --cover-package=gramps --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test --exclude=user_test gramps
|
2016-02-13 18:39:03 +05:30
|
|
|
|
|
|
|
after_success:
|
2016-03-08 10:15:12 +05:30
|
|
|
- codecov
|
2016-02-13 18:39:03 +05:30
|
|
|
|