-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (43 loc) · 1.2 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
# No Linux builds since CMake version is too old (2017-04-13)
language: c++
matrix:
include:
####################################
# Debug builds #
####################################
- os: osx
osx_image: xcode8.3
compiler: clang
env: BUILD_TYPE=Debug
- os: osx
osx_image: xcode9
compiler: clang
env: BUILD_TYPE=Debug
- os: osx
osx_image: xcode9.1
compiler: clang
env: BUILD_TYPE=Debug
####################################
# Release builds #
####################################
# ------------- OS X ------------- #
- os: osx
osx_image: xcode8.3
compiler: clang
env: BUILD_TYPE=Release
- os: osx
osx_image: xcode9
compiler: clang
env: BUILD_TYPE=Release
- os: osx
osx_image: xcode9.1
compiler: clang
env: BUILD_TYPE=Release
script:
- scripts/setup/run demo_app
- mkdir build
- cd build
- cmake ../code -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- make -j2
# limiting number of workers as suggested in https://docs.travis-ci.com/user/languages/cpp/#OpenMP-projects
- NUM_WORKERS=3 make test ARGS="-j12 --output-on-failure"