aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-02-26 21:38:21 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-02-26 21:38:21 -0300
commitc492c5e36d26bbc631d1e1de6c04a89a30552fd1 (patch)
treeae97b98027142d8985cbf3ff9d9b05916560dddf
parenta97c1754ad5275f05b150da1ebbf7c1baa9719b3 (diff)
downloadrneovim-c492c5e36d26bbc631d1e1de6c04a89a30552fd1.tar.gz
rneovim-c492c5e36d26bbc631d1e1de6c04a89a30552fd1.tar.bz2
rneovim-c492c5e36d26bbc631d1e1de6c04a89a30552fd1.zip
Fix travis script
It was broke because the ls command failed when no valgrind.* file were found
-rwxr-xr-xscripts/travis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index 29cb923e75..c956d8b760 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -5,7 +5,7 @@ make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
make
echo "Running tests with valgrind..."
if ! make test > /dev/null 2>&1; then
- failed=$(ls src/testdir/valgrind.*)
+ failed=$(ls src/testdir/valgrind.* || true)
if [ -n "$failed" ]; then
echo "Memory leak detected" >&2
cat src/testdir/valgrind.*