macOS Go tools stopped installing binaries


#1

I’ve had a couple projects fail today after their TravisCI configs haven’t changed. Is there a problem with the macOS worker?

Config: https://github.com/moov-io/paygate/blob/master/.travis.yml

Success (yesterday): https://travis-ci.com/moov-io/paygate/jobs/175191687
Failure (today): https://travis-ci.com/moov-io/paygate/jobs/175502615

The same failure is on another project (see: https://travis-ci.com/moov-io/ofac/jobs/175512418 ) so I’m thinking this isn’t related to my config. I’ve tried to force the binaries to be installed but that didn’t work. (See: https://github.com/moov-io/ofac/pull/50 )


#2

We added support for Go modules for Go 1.11 and up today. https://changelog.travis-ci.com/go-modules-support-added-for-go-1-11-and-up-88993 This probably explains why the change happened. However, it is not clear to me why the issue manifests on the Mac, but not on Linux. We’ll investigate.


#3

This is now merged and deployed, which should address the absence of ${GOPATH%%:*}/bin from ${PATH}: https://github.com/travis-ci/travis-build/pull/1649


#4

For now I fixed it like this https://github.com/libretro/ludo/commit/12dcfcef8a6d3a9c8de7b334d74f14a638a37378


#5

It works, thanks!