summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-05 20:24:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-05 21:29:35 -0800
commit5196b46e99071ee7a4561621256c097b1329e7c8 (patch)
treecde7a70c3d0f5df23719a527b1740c93188a55f8 /.travis.yml
parent90ca1e351c4c4d717487107f676db720a97aab18 (diff)
downloadsubsurface-5196b46e99071ee7a4561621256c097b1329e7c8.tar.gz
Travis: upload continuous build AppImages as well
The latest is always under tag 'continuous'. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 14 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index aee86c0b1..135ba3239 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -67,16 +67,26 @@ script:
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage -qmldir=./subsurface/map-widget/ -verbose=2
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- curl --upload-file ./Subsurface*.AppImage https://transfer.sh/Subsurface-git.$(cd subsurface/ ; git rev-parse --short HEAD)-x86_64.AppImage
- - mkdir -p /tmp/out
- - cp ./Subsurface*.AppImage /tmp/out/Subsurface-$(cd subsurface/ ; git rev-parse --short HEAD)-x86_64.AppImage
+ - ls -lh ./Subsurface*.AppImage
+ - export APPIMAGE=Subsurface-$(cd subsurface/ ; git rev-parse --short HEAD)-x86_64.AppImage
+ - cp ./Subsurface*.AppImage $APPIMAGE
+
+after_success:
+ - ls -lh $APPIMAGE
+ - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
+ - bash -x ./upload.sh $APPIMAGE
deploy:
provider: releases
api_key:
secure: X/bD9kamMgbQsjdMY+198l/JK5RELLI04z57y0LP8nQyzFm9aa06pByZeIzNHl/u1MZHfE/abyI5CtZRXO29KF300Bx6nlkynhIaNED3JLZwKIN2/EuNavy4RitBIldeyAg0SqeHYGXoiM6BqvqG/dOW6e9UEC2pIr7DmxnKYdHV4P/RgrVYpYkvbcThUQPsAs0sXu6+gTMLibmUrHcOHOXTjdvpn8cYXJ/ctnKYRMqGadwiX3uBJIiKwG/0myHPe8ZncfEDWyWp+ZBcz+H3d/g2Psgn1eo8yJERLH9EpVrMAsCoJGC61cf+X+zJeK8SFiWCoghrzYRvQbRR3H3j1Qne2lS3FZGmxAMDbsacavcqqGK8YcuH1LZtXy1P7WkwprqZfaJi/tFKFD5m8IVygyFRTvKSOQkduzH/iup4+BJ98+BsgEP4Q1sJ5vvTfQQwT2K06uy2yjImPvTqnHKYpIh50nJx7DcZ0/sO1eHANMNFNBJzS7RNjoT87O8NvXjufdZBPGhosR4JZnL4Ji3Rj2JGPlw3xzXCp3UK+EBcYKJdJCYFn+WqQoxkhROdAgOXfRHBrv4VrfJOvgKAWq8UJ8sLTnkhkMVo8Y/Yl77JC2hk7rE9I6SlLtxHIfDFyybHVMUjrsK/SpBqeWithkohnYSnsqQx7xsDFY8+/HSJGZ8=
- file: /tmp/out/*
+ file: $APPIMAGE
skip_cleanup: true
on:
repo: Subsurface-divelog/subsurface
tags: true
- branch: travisCIReleases
+
+branches:
+ except:
+ - # Do not build tags that we create when we upload to GitHub Releases
+ - /^(?i:continuous)$/