2017-02-05 22:26:52 +00:00
|
|
|
|
2017-11-08 14:43:38 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: SUBSURFACE_PLATFORM='linux'
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
language: c++
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2017-02-05 22:26:52 +00:00
|
|
|
- git
|
|
|
|
- g++
|
|
|
|
- make
|
|
|
|
- autoconf
|
|
|
|
- automake
|
|
|
|
- libtool
|
|
|
|
- cmake
|
|
|
|
- pkg-config
|
|
|
|
- libxml2-dev
|
|
|
|
- libxslt1-dev
|
|
|
|
- libzip-dev
|
|
|
|
- libsqlite3-dev
|
|
|
|
- libusb-1.0-0-dev
|
|
|
|
- libssl-dev
|
|
|
|
- libssh2-1-dev
|
|
|
|
- libcurl4-openssl-dev
|
|
|
|
# Not a subsurface dependency, but a Qt dependency
|
|
|
|
- mesa-common-dev
|
2017-11-05 21:28:52 +00:00
|
|
|
# Not a subsurface dependency, but a QtMultimedia/libdeclarative_multimedia.so dependency
|
|
|
|
- libpulse-mainloop-glib0
|
2017-11-05 23:24:33 +00:00
|
|
|
# Not a subsurface dependency, but a QtWebKit dependency
|
|
|
|
- libhyphen-dev
|
|
|
|
- libicu52
|
2017-02-05 22:26:52 +00:00
|
|
|
|
|
|
|
before_install:
|
2017-11-08 19:51:24 +00:00
|
|
|
- source scripts/${SUBSURFACE_PLATFORM}/before_install.sh
|
2017-02-07 10:57:02 +00:00
|
|
|
|
2017-02-05 22:26:52 +00:00
|
|
|
script:
|
2017-11-08 14:43:38 +00:00
|
|
|
- source scripts/${SUBSURFACE_PLATFORM}/travisbuild.sh
|
2017-11-06 04:24:22 +00:00
|
|
|
|
|
|
|
after_success:
|
2017-11-06 21:56:53 +00:00
|
|
|
- ls -lh Subsurface*.AppImage
|
2017-11-06 04:24:22 +00:00
|
|
|
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
2017-11-06 21:56:53 +00:00
|
|
|
- bash -x ./upload.sh Subsurface*.AppImage Subsurface*.AppImage.zsync
|
2017-11-06 04:07:55 +00:00
|
|
|
|
|
|
|
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=
|
2017-11-06 04:24:22 +00:00
|
|
|
file: $APPIMAGE
|
2017-11-06 04:07:55 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
repo: Subsurface-divelog/subsurface
|
|
|
|
tags: true
|
2017-11-06 04:24:22 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- # Do not build tags that we create when we upload to GitHub Releases
|
|
|
|
- /^(?i:continuous)$/
|