forked from MeteoSwiss-APN/dawn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
116 lines (96 loc) · 3.13 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
##===-------------------------------------------------------------------------------*- yaml -*-===##
## _
## | |
## __| | __ ___ ___ ___
## / _` |/ _` \ \ /\ / / '_ |
## | (_| | (_| |\ V V /| | | |
## \__,_|\__,_| \_/\_/ |_| |_| - Compiler Toolchain
##
##
## 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
packages:
- g++-5
- gcc-5
- g++-6
- gcc-6
- clang-3.8
- clang++-3.8
os:
- linux
env:
global:
- SCRIPT_DIR=${TRAVIS_BUILD_DIR}/scripts/travis
- CACHE_DIR=${TRAVIS_BUILD_DIR}/deps/install
- CMAKE_VERSION=3.8.1
- PROTOBUF_VERSION=3.4.1
jobs:
include:
- &prepare_cache_stage
stage: Prepare Cache
compiler: gcc
env: CXX_COMPILER=g++-5 C_COMPILER=gcc-5
script: bash ${SCRIPT_DIR}/driver-install.sh -i ${CACHE_DIR} -b cmake
- <<: *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}/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/
branches:
except:
- gh-pages
notifications:
on_success: never
on_failure: never