travis integration
This commit is contained in:
1 parent
6653e63afd
commit
582dfdc6ef
4 files changed
+45
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user