-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
66 lines (63 loc) · 1.24 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
61
62
63
64
65
66
matrix:
fast_finish: true
include:
- os: osx
osx_image: xcode10.1
- os: windows
- os: linux
dist: xenial
compiler: clang
- os: linux
dist: xenial
compiler: gcc
- os: linux
dist: bionic
compiler: clang
- os: linux
dist: bionic
compiler: gcc
- os: linux
arch: arm64
dist: xenial
compiler: clang
- os: linux
arch: arm64
dist: xenial
compiler: gcc
- os: linux
arch: arm64
dist: bionic
compiler: clang
- os: linux
arch: arm64
dist: bionic
compiler: gcc
language: cpp
cache: ccache
script:
- cmake -E make_directory build && cd build
- |-
case $TRAVIS_OS_NAME in
windows)
cmake -G "Visual Studio 15 2017" -D CMAKE_BUILD_TYPE=Debug ..
;;
linux)
cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release ..
;;
osx)
cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release ..
;;
esac
- cmake --build .
- |-
case $TRAVIS_OS_NAME in
windows)
ctest -VV --output-on-failure -C Debug
;;
linux)
cmake --build . --target test
;;
osx)
cmake --build . --target test
;;
esac