Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ script:
- Xvfb :99 -screen 0 800x600x24 >/dev/null 2>&1 & # Need to set bit depth, otherwise get some black screenshots
- # until xset -q; do echo "Waiting for X server to start..."; sleep 1; done # We are not immediately using it anyway
- # Find out which files in data/ have been changed in the last commit
- #set -x # Debug #379
- FILES=$(git log -1 -p data/ | grep +++ | cut -d '/' -f 2- | sed -e 's|dev/null||g')
- echo "$FILES" ; if [ x"$FILES" == x ] ; then echo "Variable FILES is empty." ; fi
- # 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
- # Check if $FILES is not empty
- if [ x"$FILES" != x ] ; then for FILE in $FILES ; do echo "$FILE" ; bash -e code/worker.sh $(readlink -f "$FILE") ; done ; fi

after_script:
- # xpra stop :99
Expand Down