From 2a1949a5b0bdea7b2c23c98f0a748c295a9c0680 Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Thu, 25 Jan 2018 04:14:44 +0100 Subject: [PATCH] Next attempt --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.travis.yml b/.travis.yml index c0ff917..bf0b5be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -124,12 +124,26 @@ script: CMAKE_CXX_FLAGS="-fsanitize=undefined -fno-omit-frame-pointer" renew_build ninja -j2 + if [ $? -ne 0 ] ; then + return -1 + fi + ctest --verbose + if [ $? -ne 0 ] ; then + return -1 + fi else # Build an run the tests suite with valgrind renew_build ninja -j2 + if [ $? -ne 0 ] ; then + return -1 + fi + valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes ctest --verbose + if [ $? -ne 0 ] ; then + return -1 + fi fi notifications: