-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
34 lines (27 loc) · 983 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
language: cpp
env:
- MPII=openmpi OMPI_CXX=g++-4.8
- MPII=openmpi OMPI_CXX=clang++-3.3
- MPII=mpich MPICH_CXX=g++-4.8
- MPII=mpich MPICH_CXX=clang++-3.3
before_install:
# Add repo for gcc 4.8
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
# Add repo for clang 3.3
- sudo add-apt-repository -y ppa:h-rayflood/llvm
- sudo apt-get update -qq
install:
- sudo apt-get install -qq libtool automake
- if [ "$MPII" == "mpich" ]; then sudo apt-get install -qq mpich2; fi
- if [ "$MPII" == "openmpi" ]; then sudo apt-get install -qq libopenmpi1.5-dev openmpi1.5-bin; fi
# Always install g++
- sudo apt-get install -qq g++-4.8
- sudo apt-get install -qq g++-4.8-multilib
# Use clang 3.3
- sudo apt-get install --allow-unauthenticated -qq clang-3.3
before_script:
- mkdir -p $HOME/lib
- autoreconf -i
- ./configure --prefix=$HOME/lib/warped CXX=$(which mpic++)
script:
- make -j5 && make check && make install && make distcheck -j5