-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7993 from terraform-providers/td-govet-nilness
provider: Fix updated govet composites and nilness checks
- Loading branch information
Showing
12 changed files
with
55 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ linters: | |
- gosimple | ||
- ineffassign | ||
- misspell | ||
- staticcheck | ||
- structcheck | ||
- unconvert | ||
- unused | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
dist: trusty | ||
dist: xenial | ||
sudo: required | ||
services: | ||
- docker | ||
language: go | ||
go: | ||
- "1.12.x" | ||
env: | ||
GOFLAGS=-mod=vendor | ||
- "1.12.x" | ||
env: GOFLAGS=-mod=vendor | ||
|
||
git: | ||
depth: 1 | ||
|
||
install: | ||
# This script is used by the Travis build to install a cookie for | ||
# go.googlesource.com so rate limits are higher when using `go get` to fetch | ||
# packages that live there. | ||
# See: https://github.com/golang/go/issues/12933 | ||
- bash scripts/gogetcookie.sh | ||
- make tools | ||
# This script is used by the Travis build to install a cookie for | ||
# go.googlesource.com so rate limits are higher when using `go get` to fetch | ||
# packages that live there. | ||
# See: https://github.com/golang/go/issues/12933 | ||
- bash scripts/gogetcookie.sh | ||
- make tools | ||
|
||
script: | ||
- make lint | ||
- make test | ||
- make website-lint | ||
- make website-test | ||
- make lint | ||
- make test | ||
- make website-lint | ||
- make website-test | ||
|
||
branches: | ||
only: | ||
- master | ||
- master | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- go: tip | ||
- go: tip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters