Travis: don't fail Linux build when .zsync is missing

It seems that sometimes the AppImage tooling gets confused and doesn't
create a .zsync file. That should cause Travis to fail.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-05-20 11:02:41 -07:00
parent 96079d7e6a
commit d8fa24dcd8

View file

@ -12,5 +12,11 @@ ls -lh Subsurface*.AppImage
# get and run the upload script
wget -c https://raw.githubusercontent.com/dirkhh/uploadtool/master/upload.sh
bash ./upload.sh Subsurface*.AppImage Subsurface*.AppImage.zsync
# don't fail if the zsync file is missing
if [ -f Subsurface*.AppImage.zsync ] ; then
bash ./upload.sh Subsurface*.AppImage Subsurface*.AppImage.zsync
else
bash ./upload.sh Subsurface*.AppImage
fi
bash ./upload.sh smtk2ssrf*.AppImage