From b48dfe0bbe73c1b17ff645fdbe3dcd321b2b5a7b Mon Sep 17 00:00:00 2001 From: Arthur Schreiber Date: Sat, 27 Jun 2015 14:54:19 +0200 Subject: [PATCH] Always install valgrind via the apt addon. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c81fe9f23..9022fdec2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ addons: - libssh2-1-dev - openssh-client - openssh-server + - valgrind sudo: false @@ -62,7 +63,6 @@ script: # Run Tests after_success: - - if [ "$TRAVIS_OS_NAME" = "linux" -a -n "$VALGRIND" ]; then sudo apt-get -qq install valgrind; fi - if [ "$TRAVIS_OS_NAME" = "linux" -a -n "$VALGRIND" ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=./libgit2_clar.supp _build/libgit2_clar -ionline; fi # Only watch the development and master branches