1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
goreleaser/.travis.yml
Carlos Alexandro Becker 40de5c5c64
added errcheck
2017-01-02 13:20:33 -02:00

25 lines
551 B
YAML

language: go
go: 1.7.4
install:
- go get github.com/alecthomas/gometalinter
- go get github.com/Masterminds/glide
- glide install
script:
- go test -cover `glide nv`
- gometalinter --vendor --disable-all \
--enable=deadcode \
--enable=ineffassign \
--enable=gosimple \
--enable=staticcheck \
--enable=gofmt \
--enable=goimports \
--enable=dupl \
--enable=misspell \
--enable=errcheck \
--deadline=2m \
./...
after_success:
test ! -z "$TRAVIS_TAG" && go run main.go
notifications:
email: false