1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00
goreleaser/.travis.yml

25 lines
551 B
YAML
Raw Normal View History

2016-12-28 23:30:14 -02:00
language: go
go: 1.7.4
install:
2017-01-02 10:45:05 -02:00
- go get github.com/alecthomas/gometalinter
2016-12-28 23:30:14 -02:00
- go get github.com/Masterminds/glide
- glide install
script:
- go test -cover `glide nv`
2017-01-02 10:45:05 -02:00
- gometalinter --vendor --disable-all \
--enable=deadcode \
--enable=ineffassign \
--enable=gosimple \
--enable=staticcheck \
2017-01-02 10:47:19 -02:00
--enable=gofmt \
--enable=goimports \
2017-01-02 10:51:24 -02:00
--enable=dupl \
2017-01-02 10:52:14 -02:00
--enable=misspell \
2017-01-02 13:20:33 -02:00
--enable=errcheck \
--deadline=2m \
2017-01-02 10:45:05 -02:00
./...
2016-12-28 23:30:14 -02:00
after_success:
test ! -z "$TRAVIS_TAG" && go run main.go
notifications:
2017-01-02 10:45:05 -02:00
email: false