Files
gramps/.travis.yml
T

39 lines
1.2 KiB
YAML
Raw Normal View History

# After changing this file, check it on:
# http://lint.travis-ci.org/
2016-01-23 17:05:01 -05:00
language: python
#python:
# - 3.4
install:
- time sudo apt-get update
2015-08-19 15:32:57 +02:00
- travis_retry sudo apt-get install gir1.2-pango gir1.2-gtk xdg-utils librsvg2-common libglib2.0-dev intltool
2016-01-23 16:16:37 -05:00
- travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose
2015-03-13 09:47:10 -04:00
2016-01-23 17:33:46 -05:00
- sudo apt-get install python3-setuptools
2016-01-23 17:39:41 -05:00
# - sudo easy_install3 pip
2016-01-23 17:33:46 -05:00
# - travis_retry curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
# - sudo python3 get-pip.py
2016-01-23 16:24:09 -05:00
2016-01-23 17:33:46 -05:00
- travis_retry sudo pip install pyicu==1.8
2016-01-23 17:39:41 -05:00
- travis_retry sudo apt-get install python3-mock
# - sudo easy_install3 mock
2015-08-19 15:32:57 +02:00
- cd $TRAVIS_BUILD_DIR
# $TRAVIS_BUILD_DIR is set to the location of the cloned repository:
# for example: /home/travis/build/gramps-project/gramps
- python3 setup.py build
#before_script:
# - sudo Xvfb :99 -ac &
# - export DISPLAY=:99
script:
2015-08-19 15:32:57 +02:00
- 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=TestUser gramps