aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-02-26 21:44:04 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-02-26 21:44:04 -0300
commita81d25e6e45f6b1d5be31251d08a62b32344f602 (patch)
tree0438306bcf02e290e3af653ee336fa271b2bb3eb
parentc492c5e36d26bbc631d1e1de6c04a89a30552fd1 (diff)
downloadrneovim-a81d25e6e45f6b1d5be31251d08a62b32344f602.tar.gz
rneovim-a81d25e6e45f6b1d5be31251d08a62b32344f602.tar.bz2
rneovim-a81d25e6e45f6b1d5be31251d08a62b32344f602.zip
Remove -e option from travis shell script
-rwxr-xr-xscripts/travis.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index c956d8b760..5662f5f06d 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -1,11 +1,11 @@
-#!/bin/sh -e
+#!/bin/sh
export VALGRIND_CHECK=1
-make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
-make
+make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist" || exit 1
+make || exit 1
echo "Running tests with valgrind..."
if ! make test > /dev/null 2>&1; then
- failed=$(ls src/testdir/valgrind.* || true)
+ failed=$(ls src/testdir/valgrind.*)
if [ -n "$failed" ]; then
echo "Memory leak detected" >&2
cat src/testdir/valgrind.*
@@ -15,6 +15,6 @@ if ! make test > /dev/null 2>&1; then
echo ${t%%.*}
done
fi
- exit 2
+ exit 1
fi
make install