Skip to content

Commit

Permalink
Initial README, LICENSE, CHANGELOG, and testing related files
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Feb 18, 2019
1 parent 42c4cad commit cbfd113
Show file tree
Hide file tree
Showing 6 changed files with 459 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .golangci.yml
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
21 changes: 21 additions & 0 deletions .travis.yml
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
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
13 changes: 13 additions & 0 deletions GNUmakefile
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
Loading

0 comments on commit cbfd113

Please sign in to comment.