From d598134eb1850c725848512644818c9eb62211d9 Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Mon, 11 Mar 2019 12:57:08 -0700 Subject: [PATCH] Upload continuous builds to GitHub. (#325) * Update .travis.yml * Update .travis.yml * Update .travis.yml --- .travis.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b77ab5cd..94ab6a3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)/