macOS build fails with "An error occurred while generating the build script."

My latest build is failing with that error, only on macOS (the Linux build works fine): https://travis-ci.org/github/tavianator/bfs/jobs/665226019. The configuration hasn’t changed in a while, so I’m not sure why this just started happening. https://www.traviscistatus.com/ claims everything is fine.

2 Likes

Also having this issue:

I also have the same problem…
Funny thing is that slightly shortening a certain if-condition of my .travis.yml file makes the macos build work successfully…

The only difference between the successful build and the failed build was as below.

  • My successful build:
if: branch = windows_ci_test OR type = pull_request OR type = cron
  • My failed build:
if: branch = windows_ci_test OR type = pull_request OR type = cron OR branch = auto OR branch = try

My macOS builds are failing for I would say last 24h. It is “An error occurred while generating the build script.” One in 10-20 maybe? succeeds. There is obviously some issue on Travis end.