From 8273a3ae204b3c18319202fc4e8a6ef6e43f33af Mon Sep 17 00:00:00 2001 From: probonopd Date: Tue, 8 Aug 2017 16:14:25 +0200 Subject: [PATCH] Update .travis.yml [ci skip] --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 505a8356..0cc0d657 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,18 @@ language: generic sudo: true # Otherwise there seems to be no fuse available dist: trusty +env: + global: + - DISPLAY=:99 + script: - - sudo apt-get -y install libxml-xpath-perl # appstream + - sudo apt-get -y install libxml-xpath-perl xpra # appstream + - xpra start :99 + - until xset -q; do echo "Waiting for X server to start..."; sleep 1; done - # Find out which files in data/ have been changed in the last commit - FILES=$(git log -1 -p data/ | grep +++ | cut -d '/' -f 2- | sed -e 's|dev/null||g') - # Work on these files that have been changed in the last commit - for FILE in $FILES ; do echo "$FILE" ; bash -e code/worker.sh $(readlink -f "$FILE") ; done + +after_script: + - "xpra stop :99"