diff options
author | Dmitry Mikhirev | 2015-05-17 22:46:37 +0300 |
---|---|---|
committer | Dmitry Mikhirev | 2015-05-17 22:46:37 +0300 |
commit | ce448067dcab7b57ae1702ab68f14dd6ecddc446 (patch) | |
tree | 90784afbb346272d5ffcb5ee312ff05bbf8c26c0 | |
parent | 97ee01563b793e844609d75acb2ad9405f7f3fa3 (diff) | |
download | make_pcre-ce448067dcab7b57ae1702ab68f14dd6ecddc446.tar.gz make_pcre-ce448067dcab7b57ae1702ab68f14dd6ecddc446.tar.bz2 make_pcre-ce448067dcab7b57ae1702ab68f14dd6ecddc446.tar.xz make_pcre-ce448067dcab7b57ae1702ab68f14dd6ecddc446.zip |
travis: check for memory corruption with valgrind
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index a302318..2e6c260 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,9 @@ before_install: - sudo apt-get update -q - wget http://ftp.gnu.org/gnu/make/make-${MAKE_VER}.tar.bz2 -O - | bunzip2 | tar -xvC /tmp install: - - sudo apt-get install -yq libpcre3-dev + - sudo apt-get install -yq libpcre3-dev valgrind - pushd /tmp/make-${MAKE_VER} && ./configure && make -j2 && sudo make install ; popd - sudo pip install cpp-coveralls -script: if test "$CC" = gcc; then /usr/local/bin/make check 'CFLAGS=-Wall -g -fprofile-arcs -ftest-coverage'; else /usr/local/bin/make check; fi +script: if test "$CC" = gcc; then /usr/local/bin/make check 'CFLAGS=-Wall -g -fprofile-arcs -ftest-coverage' 'GNUMAKE4=valgrind -q --error-exitcode=125 /usr/local/bin/make'; else /usr/local/bin/make check 'GNUMAKE4=valgrind -q --error-exitcode=125 /usr/local/bin/make'; fi after_success: - test "$CC" = gcc && coveralls |