* Fix for #379; also report content of $FILES in Travis log
This commit is contained in:
1 parent
72bafa881f
commit
a456fcd6a1
1 file changed
+4
-1
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user