Working on travis file

This commit is contained in:
Daniel Chappuis 2020-05-14 00:59:16 +02:00
parent 833dc9a6a9
commit 375c9c5521

View File

@ -111,14 +111,17 @@ matrix:
env: env:
- MATRIX_EVAL="brew install gcc@8 && CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" - MATRIX_EVAL="brew install gcc@8 && CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Debug" DOUBLE_PRECISION="True"
- os: osx - os: osx
name: "OS X / GCC (Release, Double Precision)"
osx_image: xcode11 osx_image: xcode11
env: env:
- MATRIX_EVAL="brew install gcc@8 && CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Release" DOUBLE_PRECISION="True" - MATRIX_EVAL="brew install gcc@8 && CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Release" DOUBLE_PRECISION="True"
- os: osx - os: osx
name: "OS X / GCC (Debug, Profiler)"
osx_image: xcode11 osx_image: xcode11
env: env:
- MATRIX_EVAL="brew install gcc@8 && CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" PROFILER="True" - MATRIX_EVAL="brew install gcc@8 && CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" PROFILER="True"
- os: osx - os: osx
name: "OS X / GCC (Release, Profiler)"
osx_image: xcode11 osx_image: xcode11
env: env:
- MATRIX_EVAL="brew install gcc@8 && CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Release" DOUBLE_PRECISION="False" PROFILER="True" - MATRIX_EVAL="brew install gcc@8 && CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Release" DOUBLE_PRECISION="False" PROFILER="True"
@ -253,6 +256,11 @@ script:
- if [ "${VALGRIND}" == "True" ]; then - if [ "${VALGRIND}" == "True" ]; then
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=1 test/tests; valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=1 test/tests;
fi fi
- make install
- mkdir helloworld_build_directory
- cd helloworld_build_directory
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ../helloworld
- make -j2
after_success: after_success: