From 52a15c23d8563b7a9f3cd328ac46ab0b715990a6 Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Sat, 26 Jan 2019 13:11:23 -0800 Subject: [PATCH] Fixing macOS Travis Build - cask gcc-arm-embedded package was removed https://github.com/Homebrew/homebrew-cask/pull/56802 - Now using armmbed/formulae --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 11ffda6d3..db5db01a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,9 +71,9 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi # Homebrew defaults to Python 3 now, but we have to upgrade - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install tree ctags dfu-util binutils gnu-sed; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew tap Caskroom/cask; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew tap armmbed/formulae; fi # This fails to download sometimes, just retry till it works - - while [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]] && [[ "$EnableHostOnlyBuild" != "true" ]] && ! type arm-none-eabi-gcc &> /dev/null; do brew install Caskroom/cask/gcc-arm-embedded; done + - while [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]] && [[ "$EnableHostOnlyBuild" != "true" ]] && ! type arm-none-eabi-gcc &> /dev/null; do brew install armmbed/formulae/arm-none-eabi-gcc; done # System setup install: