-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
60 lines (54 loc) · 1.5 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: cpp
sudo: required
os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt593-trusty'
packages:
- qt59base
- qt59script
- qt59declarative
- qt59tools
- qt59x11extras
- qt59svg
- qt59quickcontrols2
- ninja-build
- libxcb-keysyms1-dev
- libxml2-utils
- libudev-dev
- texinfo
# - modemmanager
# - modemmanager-dev
# - libwayland-dev
# - libegl1-mesa-dev
- pkg-config
- g++-6
- libqrencode-dev
- libdmtx-dev
- libattr1-dev
- libphonon4qt5-dev
- libphonon4qt5experimental-dev
- liburi-perl
- docbook-xml
- docbook-xsl
- libboost-all-dev
- liblmdb-dev
- gperf
- wget
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/
install:
# Update CMake
- wget https://cmake.org/files/v3.11/cmake-3.11.0-rc3-Linux-x86_64.tar.gz -O- | sudo tar xz -C /usr --strip-components=1
script:
- source /opt/qt59/bin/qt59-env.sh
# - ./build_frameworks.sh -i ~/kf5-debug -t Debug -g Ninja -o ~/kf5-gcc-linux64-debug.tar.xz
- ./build_frameworks.sh -i ~/kf5-release -t Release -g Ninja -o ~/kf5-gcc-linux64-release.tar.xz -a "-DCMAKE_CXX_COMPILER=g++-6"
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash ./upload.sh ~/kf5-gcc-linux64-debug.tar.xz ~/kf5-gcc-linux64-release.tar.xz