Travis: try using virtual frame buffer to test graphics

This commit is contained in:
Doug Blank 2015-03-15 01:06:09 -04:00 committed by Ross Gammon
parent 88c06d41fb
commit d9b42ac2dc

View File

@ -19,6 +19,10 @@ install:
- travis_retry sudo pip3 install pyicu - travis_retry sudo pip3 install pyicu
- python3 setup.py build - python3 setup.py build
before_script:
- sudo Xvfb :99 -ac &
- export DISPLAY=:99
script: script:
- mkdir -p /home/travis/.gramps/grampsdb/ - mkdir -p /home/travis/.gramps/grampsdb/
- DJANGO_SETTINGS_MODULE=gramps.webapp.settings nosetests3 --exclude=TestcaseGenerator --exclude=exportvcard_test --exclude=plugins --exclude=vcard --exclude=merge_ref_test --exclude=test_util_test --exclude=gramps.webapp --exclude=test2_exec_CLI --exclude=widgets --exclude=test3_files_in_import_dir --exclude=test_manual_run gramps - DJANGO_SETTINGS_MODULE=gramps.webapp.settings nosetests3 --exclude=TestcaseGenerator --exclude=exportvcard_test --exclude=plugins --exclude=vcard --exclude=merge_ref_test --exclude=test_util_test --exclude=gramps.webapp --exclude=test2_exec_CLI --exclude=widgets --exclude=test3_files_in_import_dir --exclude=test_manual_run gramps