language: go

go:
        - 1.7.x
        - 1.x

install:
        - go get github.com/golang/lint/golint

script:
        - go test -v ./...
        - go test -cover -race ./...
        - go vet ./...
        - test -z "$(find . -name \*.go | xargs gofmt -d -s)"
        - golint ./...

sudo: false

language: go

go:
        - 1.7.x
        - 1.x

install:
        - go get golang.org/x/lint/golint

script:
        - go test -v ./...
        - go test -cover -race ./...
        - go vet ./...
        - test -z "$(find . -name \*.go | xargs gofmt -d -s)"
        - golint ./...

sudo: false

Update path to golint, thanks @azillion
Update path to golint, thanks @azillion
