diff --git a/.travis.yml b/.travis.yml index 0ce1bba..d817401 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ language: go go: - - 1.4 - - 1.5 - - 1.6 + - 1.11.x + - 1.12.x install: - - go get github.com/bwmarrin/flake - - go get -v . + - go get -v . +script: + - diff <(gofmt -d .) <(echo -n) + - go vet -x ./... + - golint -set_exit_status ./... + - go test -v -race ./...