travis integration

This commit is contained in:
Michał Matczuk
2017-07-21 15:13:09 +02:00
parent 6653e63afd
commit 582dfdc6ef
4 changed files with 45 additions and 1 deletions

22
Makefile Normal file
View File

@@ -0,0 +1,22 @@
all: check test
.PHONY: check
check:
gofmt -s -l . | ifne false
go vet ./...
golint ./...
misspell ./...
ineffassign .
.PHONY: test
test:
go test -race ./...
go test -tags integration ./...
.PHONY: get-deps
get-deps:
go get -t ./...
go get -u github.com/golang/lint/golint
go get -u github.com/client9/misspell/cmd/misspell
go get -u github.com/gordonklaus/ineffassign