forked from JulianKunkel/md-workbench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (56 loc) · 1.15 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
dist: trusty
sudo: true
os: linux
language: c
compiler: gcc
before_install:
- export CC=$COMPILER
- $CC --version
before_script:
- sudo update-alternatives --set mpi $MPI || true
- ./configure
- cd build
- cmake ..
script:
- make
- make test
matrix:
exclude:
- compiler: gcc
include:
- compiler: gcc-5-openmpi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- openmpi-bin
- libopenmpi-dev
env:
- MPI=/usr/lib/openmpi/include
- COMPILER=gcc-5
- compiler: gcc-6-openmpi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- openmpi-bin
- libopenmpi-dev
env:
- MPI=/usr/lib/openmpi/include
- COMPILER=gcc-6
# - compiler: gcc-4.8-openmpi
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - gcc-4.8
# - openmpi-bin
# - libopenmpi-dev
# env:
# - MPI=/usr/lib/openmpi/include
# - COMPILER=gcc-4.8