-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
45 lines (36 loc) · 782 Bytes
/
.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
# https://travis-ci.org/patflick/mxx
language: cpp
sudo: required
compiler:
- gcc
- clang
env:
- MPI=mpich3
- MPI=mpich2
- MPI=openmpi
before_install:
- sh ./conf/travis-install-mpi.sh $MPI
- pip install --user codecov
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- clang
before_script:
- $CXX --version
- mkdir build
- cd build
- cmake -DENABLE_COVERAGE ../
script:
- make
- mpiexec -np 1 ./bin/test-all
- mpiexec -np 4 ./bin/test-all
#- mpiexec -np 13 ./bin/test-all # fails for openmpi!! MPI_Allgather()
- mpiexec -np 8 ./bin/test-all
after_success:
- codecov