11language :
22 - cpp
33
4+ cache : apt
5+
46notifications :
57 email :
68 on_success : change # default: change
@@ -10,26 +12,35 @@ notifications:
1012# -> https://github.com/travis-ci/travis-ci/issues/1519
1113env :
1214 matrix :
13- - CMAKE_BUILD_TYPE="Release" WITH_MPI=OFF CXX=clang++
14- - CMAKE_BUILD_TYPE="Release" WITH_MPI=OFF CXX=g++
15- - CMAKE_BUILD_TYPE="Release" WITH_MPI=ON CXX=g++
16- - CMAKE_BUILD_TYPE="Debug" WITH_MPI=OFF CXX=clang++
17- - CMAKE_BUILD_TYPE="Debug" WITH_MPI=OFF CXX=g++
18- - CMAKE_BUILD_TYPE="Debug" WITH_MPI=ON CXX=g++
15+ - CMAKE_BUILD_TYPE="Release" WITH_MPI=OFF CXX=clang++ BOOST_VERSION=1.53
16+ - CMAKE_BUILD_TYPE="Release" WITH_MPI=OFF CXX=g++ BOOST_VERSION=1.53
17+ - CMAKE_BUILD_TYPE="Release" WITH_MPI=ON CXX=g++ BOOST_VERSION=1.53
18+ - CMAKE_BUILD_TYPE="Debug" WITH_MPI=OFF CXX=clang++ BOOST_VERSION=1.53
19+ - CMAKE_BUILD_TYPE="Debug" WITH_MPI=OFF CXX=g++ BOOST_VERSION=1.53
20+ - CMAKE_BUILD_TYPE="Debug" WITH_MPI=ON CXX=g++ BOOST_VERSION=1.53
21+ - CMAKE_BUILD_TYPE="Release" WITH_MPI=OFF CXX=clang++ BOOST_VERSION=1.55
22+ - CMAKE_BUILD_TYPE="Release" WITH_MPI=OFF CXX=g++ BOOST_VERSION=1.55
23+ - CMAKE_BUILD_TYPE="Release" WITH_MPI=ON CXX=g++ BOOST_VERSION=1.55
24+ - CMAKE_BUILD_TYPE="Debug" WITH_MPI=OFF CXX=clang++ BOOST_VERSION=1.55
25+ - CMAKE_BUILD_TYPE="Debug" WITH_MPI=OFF CXX=g++ BOOST_VERSION=1.55
26+ - CMAKE_BUILD_TYPE="Debug" WITH_MPI=ON CXX=g++ BOOST_VERSION=1.55
1927
2028before_install :
21- - sudo add-apt-repository ppa:apokluda/boost1.53 --yes
22- - sudo add-apt-repository ppa:ubuntu-toolchain-r/test --yes # libstdc++-4.8
23- - if [ "${CXX}" == "clang++" ]; then sudo add-apt-repository --yes ppa:h-rayflood/llvm; fi # clang++-3.2
29+ # boost packages
30+ - if [ "${BOOST_VERSION}" == "1.53" ]; then sudo add-apt-repository ppa:apokluda/boost1.53 --yes; fi
31+ - if [ "${BOOST_VERSION}" == "1.55" ]; then sudo add-apt-repository ppa:boost-latest/ppa --yes; fi
32+ # libstdc++-4.8
33+ - sudo add-apt-repository ppa:ubuntu-toolchain-r/test --yes
34+ # clang++-3.2
35+ - if [ "${CXX}" == "clang++" ]; then sudo add-apt-repository --yes ppa:h-rayflood/llvm; fi
2436 - sudo apt-get update
2537
26-
2738install :
2839 # note: clang needs g++-4.8 it for libstdc++ update
2940 - if [ "${CXX}" == "clang++" ]; then sudo apt-get -qq install clang-3.2; fi
3041 - if [ "${WITH_MPI}" == "ON" ]; then sudo apt-get -qq install mpich2 libmpich2-dev; fi
31- - sudo apt-get install g++-4.8 # clang need it for libstdc++ update
32- - sudo apt-get install libboost1.53 -all-dev libfftw3-3 libfftw3-dev
42+ - sudo apt-get install g++-4.8
43+ - sudo apt-get install "libboost${BOOST_VERSION} -all-dev" libfftw3-3 libfftw3-dev
3344
3445before_script :
3546 # update compilers
@@ -41,5 +52,5 @@ script:
4152 - cd build
4253 - cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -Dpfasst_WITH_MPI=${WITH_MPI} -Dpfasst_DISABLE_LIBCXX=ON -Dpfasst_BUILD_TESTS=ON -Dpfasst_BUILD_EXAMPLES=ON ..
4354 - make
44- - make test
55+ - make test ARGS="-V"
4556 - make run_example_all
0 commit comments