From 973baa2a06216931747404587461184d83cbdabe Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 6 May 2014 18:08:29 -0400 Subject: [PATCH] coveralls upload should not fail the CI build - swallow error code --- scripts/travis.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travis.sh b/scripts/travis.sh index f2250d9d0d..62c4fbe98e 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -95,7 +95,7 @@ if [ "$TRAVIS_BUILD_TYPE" = "clang/asan" ]; then exit 1 fi check_and_report - coveralls --encoding iso-8859-1 + coveralls --encoding iso-8859-1 || echo 'coveralls upload failed.' $MAKE_CMD install elif [ "$TRAVIS_BUILD_TYPE" = "gcc/unittest" ]; then sudo pip install cpp-coveralls @@ -103,7 +103,7 @@ elif [ "$TRAVIS_BUILD_TYPE" = "gcc/unittest" ]; then set_environment /opt/neovim-deps export SKIP_EXEC=1 $MAKE_CMD CMAKE_EXTRA_FLAGS="-DBUSTED_OUTPUT_TYPE=TAP -DUSE_GCOV=ON" unittest - coveralls --encoding iso-8859-1 + coveralls --encoding iso-8859-1 || echo 'coveralls upload failed.' elif [ "$TRAVIS_BUILD_TYPE" = "gcc/ia32" ]; then set_environment /opt/neovim-deps/32