Remove -e option from travis shell script

This commit is contained in:
Thiago de Arruda
2014-02-26 21:44:04 -03:00
parent c492c5e36d
commit a81d25e6e4

View File

@@ -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