2021-11-08 16:39:17 +00:00

22 lines
507 B
YAML

dependencies:
post:
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
test:
override:
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- |
gometalinter \
--disable-all \
--enable=deadcode \
--enable=errcheck \
--enable=golint \
--enable=gosimple \
--enable=unconvert \
--enable=vet \
--enable=vetshadow \
./...
post:
- bash <(curl -s https://codecov.io/bash)