forked from primeMover2011/Baugeschichte
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
47 lines (41 loc) · 1.07 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
sudo: required
dist: trusty
# dist: xenial - no support yet by travis :(
language: cpp
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
# works on Trusty
# - os: linux
# addons:
# apt:
# sources:
# - llvm-toolchain-trusty
# packages:
# - clang-4.0
# env:
# - MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
before_install:
- eval "${MATRIX_EVAL}"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- sudo add-apt-repository -y ppa:beineri/opt-qt591-trusty
- sudo apt-get update -qq
- sudo apt-get install -y qt59base qt59declarative qt59location qt59quickcontrols qt59quickcontrols2 qt59sensors qt59svg qt59tools
- source /opt/qt59/bin/qt59-env.sh
- export QTHOME=/opt/qt59
script:
- qmake . -recursive
- make
- export QML2_IMPORT_PATH=`pwd`/src # for the qml tests
- make check