mirror of
https://github.com/status-im/migrate.git
synced 2025-02-23 00:08:06 +00:00
Added golangci-lint config
This commit is contained in:
parent
cac03318eb
commit
8f6bfb0295
14
.golangci.yml
Normal file
14
.golangci.yml
Normal file
@ -0,0 +1,14 @@
|
||||
# options for analysis running
|
||||
run:
|
||||
tests: false
|
||||
|
||||
output:
|
||||
print-issued-lines: false
|
||||
|
||||
linters:
|
||||
disable:
|
||||
- errcheck
|
||||
- govet
|
||||
- gosimple
|
||||
- unused
|
||||
- staticcheck
|
@ -27,12 +27,14 @@ cache:
|
||||
- $GOPATH/pkg
|
||||
|
||||
before_install:
|
||||
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.15.0
|
||||
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
|
||||
|
||||
install:
|
||||
- go get github.com/mattn/goveralls
|
||||
|
||||
script:
|
||||
- golangci-lint run
|
||||
- make test COVERAGE_DIR=/tmp/coverage
|
||||
|
||||
after_success:
|
||||
|
Loading…
x
Reference in New Issue
Block a user