1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-02 03:50:36 +00:00

Retry Travis deployment on error

This commit is contained in:
Luke Ceddia 2018-01-19 21:15:29 +11:00
parent 06250fed9f
commit 938b7b5d83

View file

@ -15,6 +15,11 @@ tar --create --auto-compress --file ${filebase}_lnx.tar.gz --exclude-from=qb64/.
#7z a -xr@qb64/.travis/common-exclusion.list -xr@qb64/.travis/win-exclusion.list ${filebase}_win.7z qb64/ > /dev/null
# Send to server
scp ${filebase}_* m6rosupy1q2t@qb64.org:autobuilds/${TRAVIS_BRANCH}/
# Sometimes the connection can be a bit flakey, so try multiple times on error
for i in `seq 1 10`
do scp ${filebase}_* m6rosupy1q2t@qb64.org:autobuilds/${TRAVIS_BRANCH}/
if [ "$?" -eq 0 ]
then break
fi
done