From 3346b044cd21526d431da1844cfdf5914ab75b87 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 19 Feb 2017 14:22:43 +0100 Subject: [PATCH] Only upload after success --- .travis.yml | 2 ++ tests/tests.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31d018c..fd44d10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,8 @@ script: - find *.AppDir - xpra start :99 - bash -e tests/tests.sh + +after_success: - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - bash ./upload.sh ./linuxdeployqt-*.AppImage diff --git a/tests/tests.sh b/tests/tests.sh index 4e2e7c3..3247fd6 100644 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -40,7 +40,7 @@ unset LD_LIBRARY_PATH unset QTDIR ############################################################################### -# Test the sample Qt Widgets Application that comes with Qt Creator +# Test bundling the sample Qt Widgets Application that comes with Qt Creator ############################################################################### cd tests/QtWidgetsApplication/build/ @@ -66,7 +66,7 @@ killall QtWidgetsApplication && echo "SUCCESS" cd ../../../ ############################################################################### -# Test the sample Qt Quick Controls 2 Application that comes with Qt Creator +# Test bundling the sample Qt Quick Controls 2 Application that comes with Qt Creator ############################################################################### cd tests/QtQuickControls2Application/build/