mirror of
https://github.com/boostorg/conversion.git
synced 2025-07-31 21:14:37 +02:00
Run TravisCI tests using valgrind
This commit is contained in:
@@ -2,13 +2,14 @@
|
|||||||
# subject to the Boost Software License, Version 1.0. (See accompanying
|
# 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)
|
# 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
|
# See https://svn.boost.org/trac/boost/wiki/TravisCoverals for description of this file
|
||||||
# and how it can be used with Boost libraries.
|
# and how it can be used with Boost libraries.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
language: cpp
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
@@ -51,12 +52,14 @@ before_install:
|
|||||||
- PROJECT_DIR=$BOOST/libs/$PROJECT_TO_TEST
|
- PROJECT_DIR=$BOOST/libs/$PROJECT_TO_TEST
|
||||||
- ./bootstrap.sh
|
- ./bootstrap.sh
|
||||||
- ./b2 headers
|
- ./b2 headers
|
||||||
|
- sudo apt-get update -qq
|
||||||
|
- sudo apt-get install -qq valgrind
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [ "$CCFLAGS" != "" ]; then FLAGS="cxxflags=\"$CCFLAGS\" linkflags=\"$LINKFLAGS\""; else FLAGS=""; fi
|
- if [ "$CCFLAGS" != "" ]; then FLAGS="cxxflags=\"$CCFLAGS\" linkflags=\"$LINKFLAGS\""; else FLAGS=""; fi
|
||||||
- cd $BOOST/libs/$PROJECT_TO_TEST/test/
|
- cd $BOOST/libs/$PROJECT_TO_TEST/test/
|
||||||
# `--coverage` flags required to generate coverage info for Coveralls
|
# `--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:
|
after_success:
|
||||||
# Copying Coveralls data to a separate folder
|
# Copying Coveralls data to a separate folder
|
||||||
|
Reference in New Issue
Block a user