mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
Remove -e option from travis shell script
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh
|
||||||
|
|
||||||
export VALGRIND_CHECK=1
|
export VALGRIND_CHECK=1
|
||||||
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
|
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist" || exit 1
|
||||||
make
|
make || exit 1
|
||||||
echo "Running tests with valgrind..."
|
echo "Running tests with valgrind..."
|
||||||
if ! make test > /dev/null 2>&1; then
|
if ! make test > /dev/null 2>&1; then
|
||||||
failed=$(ls src/testdir/valgrind.* || true)
|
failed=$(ls src/testdir/valgrind.*)
|
||||||
if [ -n "$failed" ]; then
|
if [ -n "$failed" ]; then
|
||||||
echo "Memory leak detected" >&2
|
echo "Memory leak detected" >&2
|
||||||
cat src/testdir/valgrind.*
|
cat src/testdir/valgrind.*
|
||||||
@@ -15,6 +15,6 @@ if ! make test > /dev/null 2>&1; then
|
|||||||
echo ${t%%.*}
|
echo ${t%%.*}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
exit 2
|
exit 1
|
||||||
fi
|
fi
|
||||||
make install
|
make install
|
||||||
|
|||||||
Reference in New Issue
Block a user