-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
108 lines (93 loc) · 2.29 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
language: c++
os: linux
dist: trusty
sudo: false
addons:
apt:
sources: &apt_sources
# Distributions for LLVM may be found here: http://apt.llvm.org/trusty/dists/
- llvm-toolchain-trusty-4.0
- llvm-toolchain-trusty-6.0
- llvm-toolchain-trusty
- ubuntu-toolchain-r-test
packages:
# Packages needed for all of the builds.
- cmake
- cmake-data
matrix:
include:
# Install and test with gcc-5.4.1
- compiler: g++-5
env: COMPILER=g++-5
addons:
apt:
sources: *apt_sources
packages:
- g++-5
# Install and test with gcc-6.3.0
- compiler: g++-6
env: COMPILER=g++-6
addons:
apt:
sources: *apt_sources
packages:
- g++-6
# Install and test with gcc-7.2.0
- compiler: g++-7
env: COMPILER=g++-7
addons:
apt:
sources: *apt_sources
packages:
- g++-7
# Install and test with Clang 4.0.1
- compiler: clang++-4.0
env: COMPILER=clang++-4.0
addons:
apt:
sources: *apt_sources
packages:
- clang-4.0
# Default on Trusty is Clang 5.0.0
- compiler: clang++
env: COMPILER=clang++
# Install and test with Clang 6.0.1
- compiler: clang++-6.0
env: COMPILER=clang++-6.0
addons:
apt:
sources: *apt_sources
packages:
- clang-6.0
# Install and test with Clang 7
- compiler: clang++-7
env: COMPILER=clang++-7
addons:
apt:
sources: *apt_sources
packages:
- clang-7
# Install and test on MacOS with Xcode 8.3
- compiler: clang++
env: COMPILER=clang++
os: osx
osx_image: xcode8.3
# Install and test on MacOS with Xcode 9
- compiler: clang++
env: COMPILER=clang++
os: osx
osx_image: xcode9
# Install and test on MacOS with Xcode 9.1
- compiler: clang++
env: COMPILER=clang++
os: osx
osx_image: xcode9.1
# Install and test on MacOS with Xcode 9.2
- compiler: clang++
env: COMPILER=clang++
os: osx
osx_image: xcode9.2
before_script:
- mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=$COMPILER ..
script:
- make && make test