Skip to content

Commit 8273a3a

Browse files
authored
Update .travis.yml
[ci skip]
1 parent 9cde752 commit 8273a3a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,18 @@ language: generic
33
sudo: true # Otherwise there seems to be no fuse available
44
dist: trusty
55

6+
env:
7+
global:
8+
- DISPLAY=:99
9+
610
script:
7-
- sudo apt-get -y install libxml-xpath-perl # appstream
11+
- sudo apt-get -y install libxml-xpath-perl xpra # appstream
12+
- xpra start :99
13+
- until xset -q; do echo "Waiting for X server to start..."; sleep 1; done
814
- # Find out which files in data/ have been changed in the last commit
915
- FILES=$(git log -1 -p data/ | grep +++ | cut -d '/' -f 2- | sed -e 's|dev/null||g')
1016
- # Work on these files that have been changed in the last commit
1117
- for FILE in $FILES ; do echo "$FILE" ; bash -e code/worker.sh $(readlink -f "$FILE") ; done
18+
19+
after_script:
20+
- "xpra stop :99"

0 commit comments

Comments
 (0)