-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
50 lines (44 loc) · 1.02 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
language: cpp
matrix:
include:
- os: linux
env: COMPILER=g++-4.9 CMAKE_BUILD_TYPE=Debug
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- os: linux
env: COMPILER=g++-4.9 CMAKE_BUILD_TYPE=Release
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- os: linux
env: COMPILER=g++-5 CMAKE_BUILD_TYPE=Release
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
before_install:
- sudo add-apt-repository ppa:beineri/opt-qt-5.10.1-trusty -y
- sudo apt-get update
- sudo apt-get install qt510-meta-minimal cmake -y
before_script:
- mkdir build
- cd build
- . /opt/qt510/bin/qt510-env.sh
- CXX=${COMPILER} cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} ..
script:
- make