-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
44 lines (37 loc) · 1.03 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
language: generic
sudo: required
dist: trusty
matrix:
fast_finish: true
include:
- os: osx
compiler: clang
env: CCOMPILER='clang' CXXCOMPILER='clang++'
- os: linux
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7', 'cmake', 'realpath']
env: CCOMPILER='gcc-7' CXXCOMPILER='g++-7'
- os: linux
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-6', 'cmake', 'realpath']
env: CCOMPILER='gcc-6' CXXCOMPILER='g++-6'
- os: linux
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-5', 'cmake', 'realpath']
env: CCOMPILER='gcc-5' CXXCOMPILER='g++-5'
# Waiting on Travis whitelisting clang-4.0
before_install:
- export CC=${CCOMPILER} CXX=${CXXCOMPILER}
install:
- git clone --depth 1 --branch v0.14.1 https://github.com/mapbox/mason.git .mason
- mkdir build
- pushd build
- cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..
- cmake --build .
- popd