From 118823a9afde842b0582589fc3cd5352b39505e8 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 19 Nov 2016 13:43:38 +0100 Subject: [PATCH 1/2] Use latest appimagetool --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 22e23ad..2a6363b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,10 +14,7 @@ before_install: - make -j7 - sudo make install - cd - - - ID=$(wget -q https://api.travis-ci.org/repos/probonopd/appimagetool/builds -O - | head -n 1 | sed -e 's|}|\n|g' | grep '"result":0' | head -n 1 | sed -e 's|,|\n|g' | grep '"id"' | cut -d ":" -f 2) - - URL=$(wget -q "http://archive.travis-ci.org/jobs/$((ID+1))/log.txt" -O - | grep -o "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g') - - if [ -z "$URL" ] ; then URL=$(wget -q "http://archive.travis-ci.org/jobs/$((ID+2))/log.txt" -O - | grep -o "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g') ; fi - - sudo wget -c "$URL" -O /usr/local/bin/appimagetool + - sudo wget -c "https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O /usr/local/bin/appimagetool - sudo chmod a+x /usr/local/bin/appimagetool install: From e594e6f678d92b65ad3bfb775c5644b18decab64 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 19 Nov 2016 13:48:14 +0100 Subject: [PATCH 2/2] Use uploadtool --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2a6363b..389baba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,4 +31,10 @@ script: - export VERSION=$(git describe --always) - ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/linuxdeployqt -verbose=3 -appimage - ls -lh - - curl --upload-file ./linuxdeployqt-*.AppImage https://transfer.sh/linuxdeployqt-$VERSION-x86_64.appimage + - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh + - bash ./upload.sh ./linuxdeployqt-*.AppImage + +branches: + except: + - # Do not build tags that we create when we upload to GitHub Releases + - /^(?i:continuous)$/