In Travis CI environment I’m running go get golang.org/x/tools/cmd/vet to install the vet tool. Unfortunately yesterday it started erroring on the Go 1.4 build:
If you build your library/app using different versions of Go during build process than probably you should modify the build process to run vet only once using the latest version of Go.
Hm, okay, cool. I do not know how to do that with Travis CI. (I know it’s off topic. But if someone has already figured it out feel free to share.) Thanks!
That is true. On the other hand why would you want to run different versions of vet (or any other similar tool) multiple times during the build? I think running the latest version once should be enough.
Ah, thanks @tiffany! That explains why it magically started working again.
(PS. I see that you work at Intel; my brother works up there at Nanometrics and was just asking me the other day about using Go. He heard some teams at Intel were using it so it sparked some interest… I might have questions later about adopting Go in a corporate environment.)
vet from the tools repo has been fixed but it doesn’t change the fact that it is not the latest version and doesn’t include the latest bug fixes and improvements.
Sounds good to me, but not sure how much I can help since my group acts more like a little startup within Intel and decided to use Go. I’ll try though :).