diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..3cbab24a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: go +dist: trusty +go: + - 1.8.3 + +branches: + only: + - master + +script: + - make build diff --git a/Makefile b/Makefile index 108ccfa8..2d234104 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,8 @@ $(BINARY): $(SOURCES) .PHONY: build build: go get ./... - go test ./... - go vet ./... + go test -v -race -cover ./... + go tool vet $(SOURCES) .PHONY: test test: