Browse Source

Only upload after success

master
probonopd 8 years ago
parent
commit
3346b044cd
  1. 2
      .travis.yml
  2. 4
      tests/tests.sh

2
.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

4
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/

Loading…
Cancel
Save