Fix CI homebrew checks for outdated packages.

(cherry picked from commit 8f8689f70235dc19cbc5092ea148af5772a9cdc3)
This commit is contained in:
Isis Lovecruft 2017-07-24 18:26:36 +00:00
parent cdb3e17ba2
commit f18205f2e1
No known key found for this signature in database
GPG Key ID: C8E8B1AA4CF3844E

View File

@ -66,9 +66,9 @@ before_install:
install:
## If we're on OSX use brew to install dependencies (for Linux, see the "apt:" section above)
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated openssl || brew upgrade openssl; }; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated openssl || brew upgrade libevent; }; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated openssl || brew upgrade pkg-config; }; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated openssl || brew upgrade openssl; }; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated libevent || brew upgrade libevent; }; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated pkg-config || brew upgrade pkg-config; }; fi
## Install the nightly channels of rustc and cargo and setup our toolchain environment
- sh rustup.sh -y --default-toolchain nightly
- source $HOME/.cargo/env