forked from GridTools/serialbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
140 lines (118 loc) · 3.86 KB
/
.travis.yml
File metadata and controls
140 lines (118 loc) · 3.86 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
#!/usr/bin/env bash
##===-------------------------------------------------------------------------------*- bash -*-===##
##
## S E R I A L B O X
##
## This file is distributed under terms of BSD license.
## See LICENSE.txt for more information.
##
##===------------------------------------------------------------------------------------------===##
dist: trusty
sudo: false
language: c++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gcc-5
- gfortran-5
- g++-6
- gcc-6
- gfortran-6
- clang-3.8
- clang++-3.8
env:
global:
- SCRIPT_DIR=${TRAVIS_BUILD_DIR}/tools/travis
- CACHE_DIR=${TRAVIS_BUILD_DIR}/deps/install
- CMAKE_VERSION=3.8.1
- BOOST_VERSION=1.60.0
- PFUNIT_VERSION=3.2.7
jobs:
include:
- &prepare_cache_stage
stage: Prepare Cache
compiler: gcc
os: linux
env: CXX_COMPILER=g++-5 C_COMPILER=gcc-5 FC_COMPILER=gfortran-5
script: bash ${SCRIPT_DIR}/driver-install.sh -i ${CACHE_DIR} -b cmake,boost,pfunit -c boost:filesystem,chrono,system,log
- <<: *prepare_cache_stage
compiler: clang
os: linux
env: CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8
# Linux GCC 5.4 (Release) [Linux]
- &test_stage
stage: Test
compiler: gcc
os: linux
script: bash ${SCRIPT_DIR}/driver-test.sh
env: CONFIG=Release CXX_COMPILER=g++-5 C_COMPILER=gcc-5 FC_COMPILER=gfortran-5
# Linux GCC 5.4 (RelWithDebInfo) [Linux]
- <<: *test_stage
compiler: gcc
env: CONFIG=RelWithDebInfo CXX_COMPILER=g++-5 C_COMPILER=gcc-5 FC_COMPILER=gfortran-5
# Linux GCC 6.3 (Release) [Linux]
- <<: *test_stage
compiler: gcc
env: CONFIG=Release CXX_COMPILER=g++-6 C_COMPILER=gcc-6 FC_COMPILER=gfortran-6
# Linux GCC 6.3 (RelWithDebInfo) [Linux]
- <<: *test_stage
compiler: gcc
env: CONFIG=RelWithDebInfo CXX_COMPILER=g++-6 C_COMPILER=gcc-6 FC_COMPILER=gfortran-6
# Clang 3.8 (Release) [Linux]
- <<: *test_stage
compiler: clang
env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8
# Clang 3.8 (RelWithDebInfo) [Linux]
- <<: *test_stage
compiler: clang
env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8
# Clang 4.0 (Release) [Linux]
- <<: *test_stage
compiler: clang
env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=4.0.0
# Clang 4.0 (RelWithDebInfo) [Linux]
- <<: *test_stage
compiler: clang
env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=4.0.0
# Clang 5.0 (Release) [Linux]
- <<: *test_stage
compiler: clang
env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=5.0.0
# Clang 5.0 (RelWithDebInfo) [Linux]
- <<: *test_stage
compiler: clang
env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=5.0.0
# # XCode 7.3 (Release) [OSX]
# - <<: *test_stage
# os: osx
# osx_image: xcode7.3
# compiler: clang
# env: CONFIG=Release
# # XCode 7.3 (RelWithDebInfo) [OSX]
# - <<: *test_stage
# os: osx
# osx_image: xcode7.3
# compiler: clang
# env: CONFIG=RelWithDebInfo
# # XCode 8.0 (Release) [OSX]
# - <<: *test_stage
# os: osx
# osx_image: xcode8
# compiler: clang
# env: CONFIG=Release
# # XCode 8.0 (RelWithDebInfo) [OSX]
# - <<: *test_stage
# os: osx
# osx_image: xcode8
# compiler: clang
# env: CONFIG=RelWithDebInfo
cache:
directories:
- ${CACHE_DIR}/boost-${BOOST_VERSION}
- ${CACHE_DIR}/boost-${PFUNIT_VERSION}
notifications:
on_success: never
on_failure: never