diff options
author | Andrei Vagin <avagin@gmail.com> | 2020-06-11 10:41:01 -0700 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-06-11 11:26:22 -0700 |
commit | c45420a3f53a47cd01d78efe8c76bb2bdebbf4d4 (patch) | |
tree | 48509f57f5ad9ffba8959777fd0886b73d20504c /.travis.yml | |
parent | 0c7a5bc69c19de59c426045d10a56613f992f0dd (diff) |
travis: set the pipefail option
The travis job has to fail if make smoke-test fails.
Reported-by: Bin Lu <bin.lu@arm.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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. |