Skip to content

Commit 1893a8e

Browse files
committed
Updated valgrind version.
1 parent dc8c253 commit 1893a8e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ install:
1818
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y bzip2; fi
1919
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y libc6-dbg; fi
2020
- wget https://github.com/google/googletest/archive/release-1.7.0.zip -O googletest-release-1.7.0.zip
21-
- wget http://valgrind.org/downloads/valgrind-3.10.1.tar.bz2 && tar xjf valgrind-3.10.1.tar.bz2 && cd valgrind-3.10.1 && ./configure && make && sudo make install && cd ..
21+
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install valgrind; fi
22+
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then wget http://valgrind.org/downloads/valgrind-3.12.0.tar.bz2 && tar xjf valgrind-3.12.0.tar.bz2 && cd valgrind-3.12.0 && ./configure && make && sudo make install && cd ..; fi
2223

2324
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew unlink boost; fi
2425
- if [ "$BOOST" == "boost" ]; then wget http://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.zip && unzip -q boost_1_58_0.zip && cd boost_1_58_0 && ./bootstrap.sh && ./b2 --with-timer --with-chrono address-model="$ARCH" > /dev/null && sudo ./b2 --with-timer --with-chrono address-model="$ARCH" install > /dev/null && cd ..; fi
@@ -32,19 +33,15 @@ before_script:
3233
matrix:
3334
include:
3435
- os: osx
35-
osx_image: beta-xcode6.2
3636
compiler: clang
3737
env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="1"
3838
- os: osx
39-
osx_image: beta-xcode6.2
4039
compiler: clang
4140
env: ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="signed" API_VERSION="2"
4241
- os: osx
43-
osx_image: beta-xcode6.2
4442
compiler: clang
4543
env: ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="64" LIBPATH="/usr/local/lib" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2"
4644
- os: osx
47-
osx_image: beta-xcode6.2
4845
compiler: clang
4946
env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="" BOOST_INC="" CHAR_SIGN="unsigned" API_VERSION="2"
5047
- os: linux

ci/build_cmake.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ then
8383
exit $ret
8484
fi
8585

86-
if [ "$2" != "32" ]
86+
if [ "$2" != "32" ] && [ `uname` = "Linux" ]
8787
then
8888
ctest -T memcheck | tee memcheck.log
8989

0 commit comments

Comments
 (0)