forked from MeteoSwiss-APN/gtclang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
126 lines (105 loc) · 3.42 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
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
##===-------------------------------------------------------------------------------*- yaml -*-===##
## _ _
## | | | |
## __ _| |_ ___| | __ _ _ __ __ _
## / _` | __/ __| |/ _` | '_ \ / _` |
## | (_| | || (__| | (_| | | | | (_| |
## \__, |\__\___|_|\__,_|_| |_|\__, | - GridTools Clang DSL
## __/ | __/ |
## |___/ |___/
##
##
## This file is distributed under the MIT License (MIT).
## See LICENSE.txt for details.
##
##===------------------------------------------------------------------------------------------===##
dist: trusty
sudo: false
language: c++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
packages:
- python3.5
- g++-5
- gcc-5
- g++-6
- gcc-6
- clang-3.8
- clang++-3.8
- llvm-3.8-dev
os:
- linux
env:
global:
- SCRIPT_DIR=${TRAVIS_BUILD_DIR}/scripts/travis
- CACHE_DIR=${TRAVIS_BUILD_DIR}/deps/install
- CMAKE_VERSION=3.8.1
jobs:
include:
- &prepare_cache_stage
stage: Prepare Cache
compiler: gcc
env: CXX_COMPILER=g++-5 C_COMPILER=gcc-5
script: bash ${SCRIPT_DIR}/gtclang-driver-install.sh
- <<: *prepare_cache_stage
compiler: clang
env: CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8
# Linux GCC 5.4 (Release)
- &test_stage
stage: Test
script: bash ${SCRIPT_DIR}/gtclang-driver-test.sh
compiler: gcc
env: CONFIG=Release CXX_COMPILER=g++-5 C_COMPILER=gcc-5
# Linux GCC 5.4 (RelWithDebInfo)
- <<: *test_stage
compiler: gcc
env: CONFIG=RelWithDebInfo CXX_COMPILER=g++-5 C_COMPILER=gcc-5
# Linux GCC 6.3 (Release)
- <<: *test_stage
compiler: gcc
env: CONFIG=Release CXX_COMPILER=g++-6 C_COMPILER=gcc-6
# Linux GCC 6.3 (RelWithDebInfo)
- <<: *test_stage
compiler: gcc
env: CONFIG=RelWithDebInfo CXX_COMPILER=g++-6 C_COMPILER=gcc-6
# Clang 3.8 (Release)
- <<: *test_stage
compiler: clang
env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8
# Clang 3.8 (RelWithDebInfo)
- <<: *test_stage
compiler: clang
env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8
# Clang 4.0 (Release)
- <<: *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)
- <<: *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)
- <<: *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)
- <<: *test_stage
compiler: clang
env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=5.0.0
cache:
directories:
- ${TRAVIS_BUILD_DIR}/bundle/build/protobuf-prefix/
- ${TRAVIS_BUILD_DIR}/bundle/build/dawn-prefix/
- ${TRAVIS_BUILD_DIR}/bundle/build/boost-prefix/
- ${TRAVIS_BUILD_DIR}/bundle/build/prefix/boost/
ccache: true
apt: true
branches:
except:
- gh-pages
notifications:
on_success: never
on_failure: never