From 58e8e7889979054c50ccd44baae6683f2a931205 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Sat, 17 Oct 2015 17:05:23 +0300 Subject: [PATCH] Run TravisCI tests using valgrind --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee5d380..0cabb26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +2,14 @@ # subject to the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) # -# Copyright Antony Polukhin 2014. +# Copyright Antony Polukhin 2014-2015. # # See https://svn.boost.org/trac/boost/wiki/TravisCoverals for description of this file # and how it can be used with Boost libraries. # +language: cpp os: - linux @@ -51,12 +52,14 @@ before_install: - PROJECT_DIR=$BOOST/libs/$PROJECT_TO_TEST - ./bootstrap.sh - ./b2 headers + - sudo apt-get update -qq + - sudo apt-get install -qq valgrind script: - if [ "$CCFLAGS" != "" ]; then FLAGS="cxxflags=\"$CCFLAGS\" linkflags=\"$LINKFLAGS\""; else FLAGS=""; fi - cd $BOOST/libs/$PROJECT_TO_TEST/test/ # `--coverage` flags required to generate coverage info for Coveralls - - ../../../b2 cxxflags="--coverage -std=$CXX_STANDARD" linkflags="--coverage" + - ../../../b2 testing.launcher=valgrind cxxflags="--coverage -std=$CXX_STANDARD" linkflags="--coverage" after_success: # Copying Coveralls data to a separate folder