forked from feldmeier/FilereaderLP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (43 loc) · 1001 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
49
50
language: cpp
matrix:
include:
# GCC on linux
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
env:
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
# GCC on macos
- os: osx
osx_image: xcode11
env:
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
# CLANG on linux
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-4.0
packages:
- clang-4.0
env:
- MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
# clang on macos
- os: osx
osx_image: xcode11
before_install:
- eval "${MATRIX_EVAL}"
install:
- cmake -H. -BDebug -DCMAKE_BUILD_TYPE=Debug
- cmake --build Debug
- cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release
- cmake --build Release
script:
- cd Debug && ctest
- cd ..
- cd Release && ctest