forked from sferes2/sferes2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (40 loc) · 1.07 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
language: cpp
os:
- linux
sudo: required
dist: trusty
compiler:
- gcc
- clang
env:
global:
- CI_HOME=`pwd`
matrix:
- TBB=ON EIGEN3=ON CPP11=ON MPI=ON
- TBB=ON EIGEN3=ON CPP11=ON MPI=OFF
- TBB=ON EIGEN3=ON CPP11=OFF MPI=ON
- TBB=ON EIGEN3=OFF CPP11=ON MPI=ON
- TBB=OFF EIGEN3=ON CPP11=ON MPI=ON
- TBB=OFF EIGEN3=ON CPP11=ON MPI=OFF
- TBB=OFF EIGEN3=ON CPP11=OFF MPI=ON
- TBB=OFF EIGEN3=OFF CPP11=ON MPI=ON
- TBB=OFF EIGEN3=OFF CPP11=ON MPI=OFF
- TBB=OFF EIGEN3=OFF CPP11=OFF MPI=ON
- TBB=OFF EIGEN3=OFF CPP11=OFF MPI=OFF
addons:
apt:
packages:
- libboost1.55-all-dev
before_install:
- sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
install:
- if [ "$EIGEN3" = "ON" ]; then 'ci/install_eigen.sh' ; fi
- if [ "$TBB" = "ON" ]; then 'ci/install_tbb.sh' ; fi
# Change this to your needs
script:
- cpp11=""
- mpi=""
- if [ "$CPP11" = "OFF" ]; then cpp11="--cpp11=no" ; fi
- if [ "$MPI" = "OFF" ]; then cpp11="--no-mpi" ; fi
- ./waf configure $cpp11 $mpi
- ./waf --tests -v --tests-verbose