2015-03-13 08:59:10 +05:30
|
|
|
# After changing this file, check it on:
|
|
|
|
# http://lint.travis-ci.org/
|
|
|
|
|
|
|
|
|
2015-03-13 19:09:09 +05:30
|
|
|
language: c
|
|
|
|
#python:
|
|
|
|
# - 3.3
|
|
|
|
# - 3.4
|
2015-03-13 08:59:10 +05:30
|
|
|
|
|
|
|
install:
|
|
|
|
- time sudo apt-get update
|
2015-08-19 19:02:57 +05:30
|
|
|
- travis_retry sudo apt-get install gir1.2-pango gir1.2-gtk xdg-utils librsvg2-common libglib2.0-dev intltool
|
2015-03-13 19:09:09 +05:30
|
|
|
- travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose
|
2015-03-13 19:17:10 +05:30
|
|
|
|
|
|
|
- travis_retry curl https://bootstrap.pypa.io/get-pip.py | sudo python3
|
2015-04-03 08:32:00 +05:30
|
|
|
- travis_retry sudo pip3 install Django==1.7
|
2015-05-10 06:47:01 +05:30
|
|
|
- travis_retry sudo pip3 install pyicu==1.8
|
2015-03-16 02:56:28 +05:30
|
|
|
- travis_retry sudo pip3 install mock
|
2015-08-19 19:02:57 +05:30
|
|
|
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
# $TRAVIS_BUILD_DIR is set to the location of the cloned repository:
|
|
|
|
# for example: /home/travis/build/gramps-project/gramps
|
2015-03-13 19:29:49 +05:30
|
|
|
- python3 setup.py build
|
2015-08-22 03:57:59 +05:30
|
|
|
- cd gramps/webapp
|
|
|
|
- make create
|
|
|
|
- cd ../..
|
2015-03-13 08:59:10 +05:30
|
|
|
|
2015-03-15 11:05:14 +05:30
|
|
|
#before_script:
|
|
|
|
# - sudo Xvfb :99 -ac &
|
|
|
|
# - export DISPLAY=:99
|
2015-03-15 10:36:09 +05:30
|
|
|
|
2015-03-13 08:59:10 +05:30
|
|
|
script:
|
2015-08-19 19:02:57 +05:30
|
|
|
- mkdir -p ~/.gramps/grampsdb/
|
2015-08-22 03:16:03 +05:30
|
|
|
- DJANGO_SETTINGS_MODULE=gramps.webapp.default_settings nosetests3 --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test gramps
|