Upload continuous builds to GitHub. (#325)

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml
This commit is contained in:
Leonardo Zide 2019-03-11 12:57:08 -07:00 committed by GitHub
parent 590a5bfa97
commit d598134eb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,5 +59,15 @@ script:
- ./linuxdeployqt*.AppImage --appimage-extract
- export PATH=$(readlink -f ./squashfs-root/usr/bin/):$PATH
- ./squashfs-root/usr/bin/appimagetool AppDir/
- curl --upload-file ./LeoCAD-*.AppImage https://transfer.sh/LeoCAD-git.$VERSION.qt$QT_BASE-x86_64.AppImage
- echo AppImage uploaded to https://transfer.sh/LeoCAD-git.$VERSION.qt$QT_BASE-x86_64.AppImage
after_success:
- |
if [[ "$QT_BASE" = "510" && "$TRAVIS_OS_NAME" = "linux" ]]; then
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh LeoCAD*.AppImage*
fi
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/