gramps/.travis.yml

39 lines
1.3 KiB
YAML
Raw Normal View History

# 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:
- 3.4
2016-02-29 04:50:37 +05:30
before_install:
- pip install --upgrade pip
- pip install --upgrade setuptools wheel 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
2016-01-24 02:46:37 +05:30
- travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose
- travis_retry sudo apt-get install python3-mock
2016-03-01 17:56:11 +05:30
- travis_retry sudo apt-get install python3-coverage
2016-02-29 04:50:37 +05:30
- travis_retry sudo pip install --upgrade pillow
- travis_retry sudo 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
2016-02-29 04:32:06 +05:30
- python setup.py build
#before_script:
# - sudo Xvfb :99 -ac &
# - export DISPLAY=:99
script:
- mkdir -p ~/.gramps/grampsdb/
# --exclude=TestUser because of older version of mock
# without configure_mock
2016-02-29 05:02:21 +05:30
- 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:
- codecov