forked from mcallegari/qlcplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (80 loc) · 1.82 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
language: cpp
sudo: required
script: ./.travis-ci.sh
addons:
apt:
packages: &base_pkg
#base packages for all builds
- gdb
- libasound2-dev
- libusb-dev
- libftdi-dev
- shared-mime-info
- libudev-dev
- libmad0-dev
- libsndfile1-dev
- liblo-dev
- libfftw3-dev
- libgl1-mesa-dev
# Needed for `xmllint`
- libxml2-utils
packages: &qt5_pkg
- *base_pkg
- qt514-meta-minimal
- qt514script
- qt514multimedia
- qt514serialport
packages: &qmlui_pkg
- *base_pkg
- libpulse-dev
- qt514-meta-minimal
- qt514declarative
- qt514quickcontrols2
- qt5143d
- qt514svg
- qt514multimedia
- qt514serialport
matrix:
fast_finish: true
include:
- os: linux
dist: bionic
compiler: gcc
env: TASK='compile' QT='qt5'
services: xvfb
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-5.14.2-bionic'
packages:
- *qt5_pkg
- os: linux
dist: bionic
compiler: gcc
env: TASK='compile' QT='qt5qml'
services: xvfb
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-5.14.2-bionic'
packages:
- *qmlui_pkg
- os: linux
dist: bionic
compiler: gcc
env: TASK='coverage' QT='qt5'
services: xvfb
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-5.14.2-bionic'
packages:
- *qt5_pkg
- lcov
cache:
apt: true
after_success:
- if [ "$TASK" = "coverage" ]; then coveralls-lcov --repo-token ${COVERALLS_TOKEN} coverage/coverage.info; fi