Thanks! I disabled installing mingw and ran a build. It worked! I think we can regard this issue as solved!
As a side note: It is still much slower, especially for go1.11 https://travis-ci.org/sourcegraph/go-langserver/builds/442515109
I realise this is still in preview and it may also be specific to our tests running on windows/etc (this project has some heavy integration testing which exercises IDE/build tooling). We do run this in appveyor as well if you want to compare, but they don’t seem to report run times. https://ci.appveyor.com/project/sourcegraph/go-langserver/builds/19569137 But if memory serves it doesn’t take 7min on appveyor (which is also go1.11, but not go1.11.1)
I think the fact that go1.11 requires GCC on the path and not go1.10 is probably pointing to an important difference in something that changed in Go. My best guess is we run our tests with the “-race” flag which I know requires recompiling. Maybe something changed in go which required recompiling GOROOT or the recompiling became more heavy (and required CGO).