-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
63 lines (58 loc) · 2.06 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
language: cpp
dist: xenial
git:
depth: 10
matrix:
include:
- os: linux
compiler: gcc # g++-5, Qt5.12.0, IPC enabled
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-5.12.0-xenial'
packages: [ g++-5 qt512base qt512declarative ]
env: COMPILER=g++-5 QT=512 DISABLE_IPC=OFF
- os: linux
compiler: gcc # g++-5, Qt5.12.0, IPC disabled
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-5.12.0-xenial'
packages: [ g++-5 qt512base qt512declarative ]
env: COMPILER=g++-5 QT=512 DISABLE_IPC=ON MONOLITHIC_BUILD=OFF
- os: linux
compiler: gcc # g++-5, Qt5.12.0, MONOLITHIC_BUILD
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-5.12.0-xenial'
packages: [ g++-5 qt512base qt512declarative ]
env: COMPILER=g++-5 QT=512 MONOLITHIC_BUILD=ON
- os: linux
compiler: clang # clang-6.0, Qt5.12.0, IPC enabled
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-5.12.0-xenial'
packages: [ clang-6.0 libstdc++-6-dev qt512base qt512declarative ]
env: COMPILER=clang++-6.0 QT=512 DISABLE_IPC=OFF MONOLITHIC_BUILD=OFF
install:
- sudo apt-get install python3 python3-pip python3-setuptools graphviz doxygen libgl1-mesa-dev
- sudo pip3 install antlr4-python3-runtime six pyyaml click typing jinja2 watchdog path.py
before_script:
- QTDIR="/opt/qt${QT}"
- PATH="$QTDIR/bin:$PATH"
- source /opt/qt${QT}/bin/qt${QT}-env.sh
- cd ${TRAVIS_BUILD_DIR}
- source ci/travis/setup_cmake.sh
- mkdir build
- source ci/travis/setup_gtest.sh
script:
- cd build
- >
cmake -DCMAKE_CXX_COMPILER=${COMPILER} -DCMAKE_BUILD_TYPE=Release -DFACELIFT_DISABLE_DBUS_IPC=${DISABLE_IPC} -DENABLE_MONOLITHIC_BUILD=${MONOLITHIC_BUILD} -DFACELIFT_BUILD_TESTS=ON -DCMAKE_SYSTEM_PREFIX_PATH=$CMAKE_SYSTEM_PREFIX_PATH ..
- make -j2 && dbus-launch make check && cat ./tests/results.csv