-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 1.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: cpp
sudo: required
dist: xenial
os: linux
before_script:
- sudo add-apt-repository --yes ppa:beineri/opt-qt-5.12.3-xenial
- sudo apt-get update
- sudo apt-get install -qq qt512-meta-full cmake libgl1-mesa-dev
script:
- QT_ENV_SCRIPT=$(find /opt -name 'qt*-env.sh')
- source $QT_ENV_SCRIPT
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
- make -j$(nproc)
- DESTDIR=install make install
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- # export VERSION=...
- ./linuxdeployqt-continuous-x86_64.AppImage install/usr/share/applications/*.desktop -appimage
- mkdir out
- mv snomcontrol*.AppImage out/
after_success:
- ls -lh out/*
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh out/*
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/