Skip to content

Commit c45420a

Browse files
committed
travis: set the pipefail option
The travis job has to fail if make smoke-test fails. Reported-by: Bin Lu <[email protected]> Signed-off-by: Andrei Vagin <[email protected]>
1 parent 0c7a5bc commit c45420a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ script:
1616
# On arm64, we need to create our own pipes for stderr and stdout,
1717
# otherwise we will not be able to open /dev/stderr. This is probably
1818
# due to AppArmor rules.
19-
- uname -a && make smoke-test 2>&1 | cat
19+
- bash -xeo pipefail -c 'uname -a && make smoke-test 2>&1 | cat'
2020
branches:
2121
except:
2222
# Skip copybara branches.

0 commit comments

Comments
 (0)