From c45420a3f53a47cd01d78efe8c76bb2bdebbf4d4 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Thu, 11 Jun 2020 10:41:01 -0700 Subject: travis: set the pipefail option The travis job has to fail if make smoke-test fails. Reported-by: Bin Lu Signed-off-by: Andrei Vagin --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fbc0e46d7..4cb202b7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ script: # On arm64, we need to create our own pipes for stderr and stdout, # otherwise we will not be able to open /dev/stderr. This is probably # due to AppArmor rules. - - uname -a && make smoke-test 2>&1 | cat + - bash -xeo pipefail -c 'uname -a && make smoke-test 2>&1 | cat' branches: except: # Skip copybara branches. -- cgit v1.2.3