I'm not sure why it worked well with the original PR. I've looked at this in the past and couldn't get it to work with Travis and respect GOPATH.
Go 1.13 introduced a local package cache, and hopefully Travis will take advantage of that soon, or maybe some other change will fix the particular issue we're seeing.
This reverts commit af7513e0eea0ab9f3bc65525b5a114a5067e2d8d.
…under GOPATH. (#158)"
The change is causing regular errors while pulling the modules: https://travis-ci.com/Stackdriver/stackdriver-prometheus-sidecar/builds
I'm not sure why it worked well with the original PR. I've looked at this in the past and couldn't get it to work with Travis and respect GOPATH.
Go 1.13 introduced a local package cache, and hopefully Travis will take advantage of that soon, or maybe some other change will fix the particular issue we're seeing.
This reverts commit af7513e0eea0ab9f3bc65525b5a114a5067e2d8d.