Travis: Set pipefail

This commit is contained in:
teor 2019-12-02 11:58:54 +10:00
parent 96e620caaf
commit a58a9572fa
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A

View File

@ -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