Always install valgrind via the apt addon.

This commit is contained in:
Arthur Schreiber 2015-06-27 14:54:19 +02:00
Родитель 51f8799903
Коммит b48dfe0bbe
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -27,6 +27,7 @@ addons:
- libssh2-1-dev - libssh2-1-dev
- openssh-client - openssh-client
- openssh-server - openssh-server
- valgrind
sudo: false sudo: false
@ -62,7 +63,6 @@ script:
# Run Tests # Run Tests
after_success: 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 - 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 # Only watch the development and master branches