mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +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
|
||||
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
|
||||
|
Reference in New Issue
Block a user