From a58a9572fa4df2827895c43a13b389aa900f0d66 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 2 Dec 2019 11:58:54 +1000 Subject: [PATCH] Travis: Set pipefail --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5d5bc330d6..791ca97dfa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -165,6 +165,8 @@ addons: osx_image: xcode11.2 before_install: + ## Set pipefail: we use pipes + - set -o pipefail || echo "pipefail failed" ## Create empty rust directories for non-Rust builds, so caching succeeds - if [[ "$RUST_OPTIONS" == "" ]]; then mkdir -p $HOME/.cargo $TRAVIS_BUILD_DIR/src/rust/target; fi