Skip to content

Commit a7ab084

Browse files
authored
Update worker.sh
1 parent 8273a3a commit a7ab084

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

code/worker.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ fi
8383
# TODO: If everything succeeded until here, then download Firejail aith Xpra and run the application in it
8484
# and take screenshots if we don't have them already from AppStream
8585

86+
LD_DEBUG=libs "$APPDIR/AppRun" &
87+
APID=$!
88+
sleep 5
89+
kill $APID && echo "SUCCESS"
90+
8691
# TODO: If everything succeeded until here, then put together a "database file" and display it
8792

8893
mkdir -p database/$INPUTBASENAME
@@ -109,8 +114,8 @@ find database/ -type f -exec cat {} \;
109114
# https://gist.github.com/willprice/e07efd73fb7f13f917ea
110115
git config --global user.email "travis@travis-ci.org"
111116
git config --global user.name "Travis CI"
112-
( cd database/ ; git add . ) # Recursively add everything in this directory
113-
git commit -F- <<EOF
117+
( cd database/ ; git add . || true ) # Recursively add everything in this directory
118+
git commit -F- <<EOF || true # Always succeeed (even if there was nothing to add)
114119
Add automatically parsed data ($TRAVIS_BUILD_NUMBER)
115120
[ci skip]
116121
EOF

0 commit comments

Comments
 (0)