[tor-commits] [tor/master] Travis: Set pipefail

teor at torproject.org teor at torproject.org
Mon Dec 2 01:59:20 UTC 2019


commit a58a9572fa4df2827895c43a13b389aa900f0d66
Author: teor <teor at torproject.org>
Date:   Mon Dec 2 11:58:54 2019 +1000

    Travis: Set pipefail
---
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 5d5bc330d..791ca97df 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
 



More information about the tor-commits mailing list