Permalink
Browse files

Trying with travis

  • Loading branch information...
costashatz committed Oct 23, 2016
1 parent db804e5 commit 8248c989b477865e8806d3df08f2df65b35fca3b
Showing with 31 additions and 3 deletions.
  1. +27 −3 .travis.yml
  2. +2 −0 ci/install_eigen.sh
  3. +2 −0 ci/install_tbb.sh
View
@@ -10,17 +10,41 @@ 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
- - libeigen3-dev
- - libtbb-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:
- - ./waf configure
+ - 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
View
@@ -0,0 +1,2 @@
+sudo apt-get -qq update
+sudo apt-get -qq --yes --force-yes install libeigen3-dev
View
@@ -0,0 +1,2 @@
+sudo apt-get -qq update
+sudo apt-get -qq --yes --force-yes install libtbb-dev

0 comments on commit 8248c98

Please sign in to comment.