Commit Graph

8 Commits

Author SHA1 Message Date
Paddy
961c878e0d Switch to using Go modules. (#2679)
Switch to using Go modules.

This migrates our vendor.json to use Go 1.11's modules system, and
replaces the vendor folder with the output of go mod vendor.

The vendored code should remain basically the same; I believe some
tree shaking of packages and support scripts/licenses/READMEs/etc.
happened.

This also fixes Travis and our Makefile to no longer use govendor.
2018-12-20 17:22:22 -08:00
Riley Karson
ee48586fb2 Add gometalinter (#2627)
Parallel to https://github.com/terraform-providers/terraform-provider-azurerm/pull/2116

We need to run `gofmt -s` to switch over to the `gofmt` rule, and MM is going to complicate that. Once `1.20.0` is done, I'll run that command on flat MM files & add a `gofmt -s` step to MM generation (goimports does gofmt but doesn't do the s flag for silly reasons).

I'll duplicate this over to tpgb once this PR is merged.
2018-12-20 17:22:22 -08:00
Riley Karson
ee8e300ff0 Add 2.0.0 branch to .travis.yml (#2434)
I keep breaking `make fmt` so let's stop my reign of terror
2018-12-20 17:22:22 -08:00
Paddy
e2a7bf1cf7
Use Go v1.11.0 2018-09-05 15:20:00 -07:00
Radek Simko
2192210118
make: Add website + website-test targets 2018-04-30 08:53:24 +01:00
Paddy
fdba19ae70 Use go1.9.1 for Travis
Go 1.9.1 was just released to fix a security vulnerability in 1.9.0. Let's use it for our Travis tests.
2017-10-06 11:27:26 -07:00
Radek Simko
7ff344ecb1 travis: Bump Go to 1.9 2017-09-26 13:46:45 +01:00
Jake Champlin
0e43124fce
Updating Makefile + Add gitignore 2017-06-09 14:30:08 -04:00