-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (52 loc) · 1.18 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
language: cpp
os: linux
dist: bionic
stages:
- compile
- test
jobs:
include:
- os: linux
dist: bionic
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-10
env:
- MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"
- os: linux
dist: bionic
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-bionic-10
packages:
- clang-10
- libc++-10-dev
- libc++abi-10-dev
- gcc-9
- g++-9
env:
- MATRIX_EVAL="CC=clang-10 && CXX=clang++-10"
- os: osx
osx_image: xcode12.2
compiler: gcc
env:
- MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"
- os: osx
osx_image: xcode12.2
compiler: clang
env:
- MATRIX_EVAL=""
before_install:
- eval "${MATRIX_EVAL}"
script:
- cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug && VERBOSE=1 cmake --build build --config Debug -- -j8 && ./build/tests/roar_test
- cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release && VERBOSE=1 cmake --build build --config Release -- -j8 && ./build/tests/roar_test
notifications:
email: false