rss2twitter/.travis.yml

20 lines
759 B
YAML
Raw Normal View History

2019-01-02 22:04:12 +01:00
language: go
go:
- "1.11.x"
go_import_path: github.com/umputun/rss2twitter
install: true
before_install:
- export TZ=America/Chicago
- curl -L https://git.io/vp6lP | sh
- go get github.com/mattn/goveralls
- export PATH=$(pwd)/bin:$PATH
2018-12-05 07:15:53 +01:00
script:
2019-01-02 22:04:12 +01:00
- go test -v -mod=vendor -covermode=count -coverprofile=profile.cov ./... || travis_terminate 1;
- ./bin/gometalinter --deadline=120s --exclude=test --exclude=mock --exclude=vendor --exclude=_example --disable-all --enable=errcheck --enable=vet --enable=vetshadow --enable=megacheck --enable=ineffassign --enable=varcheck --enable=unconvert --enable=deadcode --enable=interfacer --enable=gotype ./... || travis_terminate 1;
- $GOPATH/bin/goveralls -coverprofile=profile.cov -service=travis-ci