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 eba57ca357
gofmt and goimports
2017-01-02 10:47:19 -02:00

21 lines
463 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 \
./...
after_success:
test ! -z "$TRAVIS_TAG" && go run main.go
notifications:
email: false