Skip to content

Commit

Permalink
Fixing macOS Travis Build
Browse files Browse the repository at this point in the history
- cask gcc-arm-embedded package was removed
  Homebrew/homebrew-cask#56802
- Now using armmbed/formulae
  • Loading branch information
haata committed Jan 26, 2019
1 parent b3768cc commit 52a15c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 52a15c2

Please sign in to comment.