2015-03-12 23:29:10 -04:00
|
|
|
# After changing this file, check it on:
|
|
|
|
# http://lint.travis-ci.org/
|
|
|
|
|
|
|
|
|
2016-01-23 10:49:29 -08:00
|
|
|
language: python
|
2016-01-23 18:22:18 -05:00
|
|
|
#python:
|
|
|
|
# - 3.3
|
2015-03-13 09:39:09 -04:00
|
|
|
# - 3.4
|
2015-03-12 23:29:10 -04:00
|
|
|
|
|
|
|
install:
|
2015-06-01 13:02:55 -04:00
|
|
|
- git clone --depth=50 --branch=maintenance/gramps42 git://github.com/gramps-project/gramps.git gramps-project/gramps
|
2016-01-23 10:49:29 -08:00
|
|
|
- cd gramps-project/gramps
|
2015-03-12 23:29:10 -04:00
|
|
|
- time sudo apt-get update
|
2016-01-23 10:49:29 -08:00
|
|
|
- travis_retry sudo apt-get install gir1.2-pango gir1.2-gtk xdg-utils librsvg2-common libglib2.0-dev intltool
|
2015-03-13 09:39:09 -04:00
|
|
|
- travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose
|
2016-01-23 18:22:18 -05:00
|
|
|
|
|
|
|
- travis_retry sudo apt-get install python3-mock
|
|
|
|
|
|
|
|
# - travis_retry curl https://bootstrap.pypa.io/get-pip.py | sudo python3
|
|
|
|
# - travis_retry sudo pip3 install Django==1.7
|
|
|
|
# - travis_retry sudo pip3 install pyicu==1.8
|
|
|
|
# - travis_retry sudo pip3 install mock
|
2015-03-13 09:47:10 -04:00
|
|
|
|
2015-03-13 09:59:49 -04:00
|
|
|
- python3 setup.py build
|
2015-03-12 23:29:10 -04:00
|
|
|
|
2015-03-15 01:35:14 -04:00
|
|
|
#before_script:
|
|
|
|
# - sudo Xvfb :99 -ac &
|
|
|
|
# - export DISPLAY=:99
|
2015-03-15 01:06:09 -04:00
|
|
|
|
2015-03-12 23:29:10 -04:00
|
|
|
script:
|
2015-03-13 02:05:02 -04:00
|
|
|
- mkdir -p /home/travis/.gramps/grampsdb/
|
2016-01-23 18:30:24 -05:00
|
|
|
- nosetests3 --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test --exclude=user_test --exclude=webapp gramps
|