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

teor at torproject.org teor at torproject.org
Mon Dec 2 01:55:56 UTC 2019


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

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

diff --git a/.travis.yml b/.travis.yml
index 2256931..d26ed93 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -97,6 +97,10 @@ dist: bionic
 ## Recent is Xcode 11.2 on macOS 10.14 as of October 2019
 osx_image: xcode11.2
 
+before_install:
+  ## Set pipefail: we use pipes
+  - set -o pipefail || echo "pipefail failed"
+
 install:
   ## List installed package versions
   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then dpkg-query --show; fi



More information about the tor-commits mailing list