-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
156 lines (141 loc) · 3.94 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
language: cpp
sudo: false
matrix:
include:
#################### OS X #####################
- os: osx
osx_image: xcode10
env:
- MATRIX_EVAL="brew install gcc@6 && brew link --force --overwrite gcc@6 && CC=gcc-6 && CXX=g++-6"
- BUILD_NAME=serial WITH_DISTRIBUTED=serial
compiler: gcc
- os: osx
osx_image: xcode10
env:
- MATRIX_EVAL="brew install gcc@6 && brew link --force --overwrite gcc@6 && CC=gcc-6 && CXX=g++-6"
- BUILD_NAME=mpi WITH_DISTRIBUTED=mpi
compiler: gcc
- os: osx
osx_image: xcode10
env:
- MATRIX_EVAL="brew install gcc@7 && brew link --force --overwrite gcc@7 && CC=gcc-7 && CXX=g++-7"
- BUILD_NAME=serial WITH_DISTRIBUTED=serial
compiler: gcc
- os: osx
osx_image: xcode10
env:
- MATRIX_EVAL="brew install gcc@7 && brew link --force --overwrite gcc@7 && CC=gcc-7 && CXX=g++-7"
- BUILD_NAME=mpi WITH_DISTRIBUTED=mpi
compiler: gcc
- os: osx
osx_image: xcode9
env:
- MATRIX_EVAL="CC=clang && CXX=clang++"
- BUILD_NAME=serial WITH_DISTRIBUTED=serial
compiler: clang
- os: osx
osx_image: xcode9
env:
- MATRIX_EVAL="CC=clang && CXX=clang++"
- BUILD_NAME=mpi WITH_DISTRIBUTED=mpi
compiler: clang
#################### LINUX #####################
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- openmpi-bin
- libopenmpi-dev
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- BUILD_NAME=serial WITH_DISTRIBUTED=serial
compiler: gcc-6
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- openmpi-bin
- libopenmpi-dev
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- BUILD_NAME=mpi WITH_DISTRIBUTED=mpi
compiler: gcc-6
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- openmpi-bin
- libopenmpi-dev
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- BUILD_NAME=serial WITH_DISTRIBUTED=serial
compiler: gcc-7
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- openmpi-bin
- libopenmpi-dev
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- BUILD_NAME=mpi WITH_DISTRIBUTED=mpi
compiler: gcc-7
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
- g++-6
- openmpi-bin
- libopenmpi-dev
env:
- MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
- BUILD_NAME=serial WITH_DISTRIBUTED=serial
compiler: clang-4.0
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
- g++-6
- openmpi-bin
- libopenmpi-dev
env:
- MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
- BUILD_NAME=mpi WITH_DISTRIBUTED=mpi
compiler: clang-3.8
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export HOMEBREW_NO_AUTO_UPDATE=1; brew cask uninstall --force oclint; fi
- if [[ ( "$TRAVIS_OS_NAME" == "osx" ) && ( "$WITH_DISTRIBUTED" == "mpi" ) ]]; then brew install open-mpi; fi
- eval "${MATRIX_EVAL}"
script: source ./scripts/travis/build.sh
notifications:
email:
recipients:
on_success: never
on_failure: always