More macOS CI fixes (#2352)

* Revert "Fix macOS CI (#2345)"

This reverts commit 72a996a885.

* ignore update output
pull/2070/head
Willem Melching 2020-10-16 20:12:44 +02:00 committed by GitHub
parent 0fe70c6ef4
commit e23bb6113b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,13 @@
#!/bin/bash -e
echo "Updating Homebrew"
brew update
# Install brew if required.
if [[ $(command -v brew) == "" ]]; then
echo "Installing Hombrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
else
echo "Updating Homebrew"
brew update || true
fi
brew install capnp \
czmq \