From 1e14c87a729bb65cf4d23d7f7fc46246b049e180 Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Mon, 27 Feb 2017 03:21:25 -0800 Subject: [PATCH] [travis] detect errors in docker test Summary: As noticed by technion in https://github.com/facebook/infer/issues/570, failures in the Docker test do not result in failures of the test. Lol. Reviewed By: mbouaziz Differential Revision: D4605364 fbshipit-source-id: de9f84c --- .travis/docker_tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis/docker_tests.sh b/.travis/docker_tests.sh index cc791542b..a51dc1cd2 100755 --- a/.travis/docker_tests.sh +++ b/.travis/docker_tests.sh @@ -7,9 +7,12 @@ # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. +set -e SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +set -x + # assumes we are in .travis/ cd "${SCRIPT_DIR}/../docker"