I've noticed that the recent changes on tip that enforces the new location
the go.tool repo leads to an issue when doing coverage with Travis +
that I'm hoping you guys gave a clever solution for.
In short the old path no longer works on tip, but the new path doesn't work
release because it does not get installed to the 'go env GOTOOLDIR' so
'go tool cover' results in an error since it doesn't see it installed.
Has anyone already run into this and resolved it?
More specific details follow:
In particular, I have a matrix build setup with both go tip and go release
with the install section setup to get the cover tool which is later used to
send the coverage details along to coveralls. The relevant information from
the setup file is as follows:
- go get -v code.google.com/p/go.tools/cmd/cover
Due to the recent moving of the go.tools repo though, the tip build fails
$ go get -v code.google.com/p/go.tools/cmd/cover
the code.google.com/p/go.tools/cmd/cover command has moved; use
However, if I update the command to the new location:
- go get -v golang.org/x/tools/cmd/cover
The cover tool gets installed to GOPATH instead of GOTOOLPATH which leads to
'go tool cover' complaining about it not being found:
$ go tool cover
go tool: no such tool "cover"; to install:
go get code.google.com/p/go.tools/cmd/cover
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.