aboutsummaryrefslogtreecommitdiff
path: root/scripts/travis.sh
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-26 14:10:38 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-26 14:10:38 -0300
commit7df7d6bb5baff62942af94f41de142159657569e (patch)
tree76a99c2b9214e33fb7eac1c30f7ae0f586f818a6 /scripts/travis.sh
parentfc7bc0412ee111cdea61c89f3ec2461601013fa2 (diff)
parentcbf9564ee01535e3a2168219ef8f84f857519da3 (diff)
downloadrneovim-7df7d6bb5baff62942af94f41de142159657569e.tar.gz
rneovim-7df7d6bb5baff62942af94f41de142159657569e.tar.bz2
rneovim-7df7d6bb5baff62942af94f41de142159657569e.zip
Merge branch 'api-events'
Diffstat (limited to 'scripts/travis.sh')
-rwxr-xr-xscripts/travis.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index 3daa2652e5..2b97773b22 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -3,6 +3,7 @@
tmpdir="$(pwd)/tmp"
rm -rf "$tmpdir"
mkdir -p "$tmpdir"
+suppressions="$(pwd)/.valgrind.supp"
valgrind_check() {
(
@@ -171,7 +172,7 @@ elif [ "$TRAVIS_BUILD_TYPE" = "api/python" ]; then
sudo pip install .
sudo pip install nose
test_cmd="nosetests --verbosity=2"
- nvim_cmd="valgrind -q --track-origins=yes --log-file=$tmpdir/valgrind-%p.log ../build/bin/nvim -u NONE"
+ nvim_cmd="valgrind -q --track-origins=yes --leak-check=yes --suppressions=$suppressions --log-file=$tmpdir/valgrind-%p.log ../build/bin/nvim -u NONE"
if ! ../scripts/run-api-tests.exp "$test_cmd" "$nvim_cmd"; then
valgrind_check "$tmpdir"
exit 1