Update .travis.yml

This commit is contained in:
sergeyfrolov 2017-11-30 14:41:08 -07:00 committed by GitHub
parent b4141bbbc6
commit f02ca52169
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,13 @@ go:
dist: trusty
install:
- go get -t ./...
- go get github.com/golang/lint/golint
# Install gometalinter
- go get github.com/alecthomas/gometalinter
script:
- go test .
- unformatted="$(gofmt -l .)"; ! [ -z "${unformatted}" ] && echo "${unformatted}" && exit 1
- go test -race -v .
- gometalinter --install
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign --tests .