-
Notifications
You must be signed in to change notification settings - Fork 82
/
.travis.yml
48 lines (39 loc) · 872 Bytes
/
.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
sudo: required
language: cpp
dist: trusty
os:
- linux
- osx
matrix:
exclude:
- os: osx
compiler: gcc
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- g++-5 # need at least gcc 5 because clang uses gcc stl
- clang-3.8
env: COMPILER=clang++-3.8
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt-get install libboost-all-dev;
fi
before_script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release ..
script:
- make -j 3