# macOS job times out when installing brew packages

**URL:** <https://travis-ci.community/t/macos-job-times-out-when-installing-brew-packages/10760>\
**Category:** Travis CI Discussions & Feedback\
**Created:** [December 5, 2020, 6:16pm UTC](https://travis-ci.community/t/macos-job-times-out-when-installing-brew-packages/10760 "2020-12-05T18:16:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonaski](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jonaski/32/5764_2.png) [@jonaski](https://travis-ci.community/u/jonaski)\
**Post date:** [December 5, 2020, 6:16pm UTC](https://travis-ci.community/t/macos-job-times-out-when-installing-brew-packages/10760/1 "2020-12-05T18:16:41Z")

</div>

I used Travis-CI to provide macOS releases for my Strawberry Music Player project, but a few weeks ago it stopped again, it always times out when installing packages through brew:  
The job exceeded the maximum time limit for jobs, and has been terminated.

The yml file is here:

> <https://github.com/strawberrymusicplayer/strawberry/blob/travis/.travis.yml>

Log here: [https://travis-ci.org/github/strawberrymusicplayer/strawberry/builds/747808353](https://travis-ci.org/github/strawberrymusicplayer/strawberry/builds/747808353)

I struggled with this in the past too, I ended up adding “travis\_wait 400” before brew update and brew upgrade commands, but even that stopped working now, right now those commands are commented out.  
I have the same problem with brew update and upgrade before intalling brew packages.

---

<div class="post-metadata">

**Author:** ![jonaski](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jonaski/32/5764_2.png) [@jonaski](https://travis-ci.community/u/jonaski)\
**Post date:** [December 6, 2020, 5:51am UTC](https://travis-ci.community/t/macos-job-times-out-when-installing-brew-packages/10760/2 "2020-12-06T05:51:22Z")

</div>

Found out that the cause was end of life macOS high sierra  
Switched to: osx\_image: xcode11.3 and it now works.
