From 454ac1866b959df60f0da82e54fe30b543871d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Wed, 27 Aug 2014 11:23:58 +0200 Subject: [PATCH] don't fail if test comparisons return mismatches --- scripts/travis_script.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/travis_script.sh b/scripts/travis_script.sh index f8325e41c..ee56080ff 100755 --- a/scripts/travis_script.sh +++ b/scripts/travis_script.sh @@ -10,7 +10,11 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then make linux -j4 BUILDTYPE=${BUILDTYPE} make test -j4 BUILDTYPE=${BUILDTYPE} ./scripts/run_tests.sh - (cd ./node_modules/mapbox-gl-test-suite/ && (./bin/compare_images.js || true; [[ $TRAVIS_PULL_REQUEST = "false" ]] && ./bin/deploy_results.sh)) + (cd ./node_modules/mapbox-gl-test-suite/ && (./bin/compare_images.js || true)) + + if [ "${TRAVIS_PULL_REQUEST}" == "false" ] ; then + ./bin/deploy_results.sh + fi elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then #