-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial README, LICENSE, CHANGELOG, and testing related files
- Loading branch information
Showing
6 changed files
with
459 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
issues: | ||
max-per-linter: 0 | ||
max-same-issues: 0 | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- deadcode | ||
- errcheck | ||
- gofmt | ||
- gosimple | ||
- ineffassign | ||
- misspell | ||
- staticcheck | ||
- structcheck | ||
- unconvert | ||
- unused | ||
- varcheck | ||
- vet | ||
|
||
run: | ||
modules-download-mode: vendor |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
dist: xenial | ||
language: go | ||
go: | ||
- "1.11.x" | ||
env: | ||
GOFLAGS=-mod=vendor | ||
|
||
install: | ||
- make tools | ||
|
||
script: | ||
- make lint | ||
- make test | ||
|
||
branches: | ||
only: | ||
- master | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# v0.1.0 (Unreleased) | ||
|
||
* Initial release after split from github.com/terraform-providers/terraform-provider-aws |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
default: test lint | ||
|
||
lint: | ||
@echo "==> Checking source code against linters..." | ||
@golangci-lint run ./... | ||
|
||
test: | ||
go test -timeout=30s -parallel=4 ./... | ||
|
||
tools: | ||
GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint | ||
|
||
.PHONY: lint test tools |
Oops, something went wrong.