forked from Begun/libslave
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
45 lines (39 loc) · 877 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
language: cpp
addons:
apt:
sources: &default_sources
- boost-latest
packages: &default_packages
- libboost1.55-all-dev
matrix:
include:
- os: linux
addons:
apt:
sources:
- *default_sources
- ubuntu-toolchain-r-test
packages:
- *default_packages
- g++-8
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
- os: linux
addons:
apt:
sources:
- *default_sources
- llvm-toolchain-trusty-5.0
packages:
- *default_packages
- clang-5.0
env:
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
before_install:
- eval "${MATRIX_EVAL}"
before_script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release
script:
- make