I’ve been using Travis-CI for all my #Golang builds for quite some time. As my projects evolve, I have to manually add new modules in the
.travis.yml file all the time. Now that Go 1.11 due later this month will have real module support, isn’t it time to add modules (formerly known as
vgo) to the #Golang part of Travis?
There are a few ways to do it:
- use 1.11 onward, it should work as-as and fetch modules during the build
- for older versions, I’d maybe add a
vgo: trueor similar to get the same behaviour.