gramps/.travis.yml
2016-01-23 16:06:42 -05:00

31 lines
1.0 KiB
YAML

# After changing this file, check it on:
# http://lint.travis-ci.org/
language: c
python:
- 3.4
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
- travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose python3-pip
# - travis_retry curl https://bootstrap.pypa.io/get-pip.py | sudo python3
# - travis_retry sudo pip install Django==1.7
- travis_retry sudo pip3.4 install pyicu==1.8
- travis_retry sudo pip3.4 install mock
- 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:
- mkdir -p ~/.gramps/grampsdb/
- nosetests3 --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test gramps