Only upload after success

This commit is contained in:
probonopd
2017-02-19 14:22:43 +01:00
parent ea4f511342
commit 3346b044cd
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -41,6 +41,8 @@ script:
- find *.AppDir - find *.AppDir
- xpra start :99 - xpra start :99
- bash -e tests/tests.sh - bash -e tests/tests.sh
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash ./upload.sh ./linuxdeployqt-*.AppImage - bash ./upload.sh ./linuxdeployqt-*.AppImage
+2 -2
View File
@@ -40,7 +40,7 @@ unset LD_LIBRARY_PATH
unset QTDIR 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/ cd tests/QtWidgetsApplication/build/
@@ -66,7 +66,7 @@ killall QtWidgetsApplication && echo "SUCCESS"
cd ../../../ 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/ cd tests/QtQuickControls2Application/build/