mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-29 15:29:50 -06:00
changes to travis file toBuild Appimage
This commit is contained in:
committed by
GitHub
parent
4d96c4675a
commit
122ce98ba0
16
.travis.yml
16
.travis.yml
@@ -3,8 +3,8 @@ sudo: required
|
||||
dist: trusty
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
# only:
|
||||
# - master
|
||||
|
||||
# env:
|
||||
# - ARCH=x86_64 DOCKER_IMAGE=amd64/ubuntu:trusty
|
||||
@@ -55,6 +55,18 @@ script:
|
||||
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_TESTING=ON -Dsqlcipher=1 ..
|
||||
- make
|
||||
- ctest -V
|
||||
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
||||
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
|
||||
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
|
||||
|
||||
|
||||
after_success:
|
||||
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
|
||||
- # curl --upload-file APPNAME*.AppImage https://transfer.sh/APPNAME-git.$(git rev-parse --short HEAD)-x86_64.AppImage
|
||||
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
||||
- bash upload.sh APPNAME*.AppImage*
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
||||
Reference in New Issue
Block a user