macOS job times out when installing brew packages

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:

Log here: 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.

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

1 Like