Newer
Older
######## Testing minimal compiler requirements ########
# GCC 6.4.0
# Clang 4.0
# Apple Clang 900.0.39.2
#######################################################
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
matrix:
include:
########################## OS X #########################
## test gcc6 - single node/rank with threading backend ##
- name: "osx, gcc, serial"
os: osx
osx_image: xcode9.2
env:
- MATRIX_EVAL="brew install gcc@6 && brew link --force --overwrite gcc@6 && CC=gcc-6 && CXX=g++-6"
- BUILD_NAME=cthread WITH_DISTRIBUTED=serial
compiler: gcc-6
## test gcc6 - mpi with threading backend ##
- name: "osx, gcc, mpi"
os: osx
osx_image: xcode9.2
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-6
## test clang9 - single node/rank with threading backend ##
- name: "osx, apple clang, serial"
os: osx
osx_image: xcode9.2
env:
- MATRIX_EVAL="CC=clang && CXX=clang++"
- BUILD_NAME=cthread WITH_DISTRIBUTED=serial
compiler: clang
## test clang9 - mpi with threading backend ##
- name: "osx, apple clang, mpi"
os: osx
osx_image: xcode9.2
env:
- MATRIX_EVAL="CC=clang && CXX=clang++"
- BUILD_NAME=mpi WITH_DISTRIBUTED=mpi
compiler: clang
######################### LINUX #########################
## test gcc6 - single node/rank with threading backend ##
- name: "linux, gcc, serial"
os: linux
dist: trusty
addons:
apt:
- ubuntu-toolchain-r-test
- g++-6
- openmpi-bin
- libopenmpi-dev
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- BUILD_NAME=cthread WITH_DISTRIBUTED=serial
compiler: gcc-6
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
## test gcc6 - mpi with threading backend ##
- name: "linux, gcc, mpi"
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
## test clang4 - single node/rank with threading backend ##
- name: "linux, clang, serial"
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=cthread WITH_DISTRIBUTED=serial
compiler: clang-4.0
## test clang4 - mpi with threading backend ##
- name: "linux, clang, mpi"
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=mpi WITH_DISTRIBUTED=mpi
compiler: clang-4.0
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