File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,15 @@ linters-settings:
2
2
errcheck :
3
3
check-type-asserts : true
4
4
check-blank : true
5
- ignore : fmt:Fprint.*,
6
5
misspell :
7
6
locale : US
8
- lll :
9
- line-length : 130
10
7
11
8
linters :
12
9
enable-all : true
10
+
11
+ issues :
12
+ exclude-rules :
13
+ - path : _test\.go
14
+ linters :
15
+ - lll
16
+ - funlen
Original file line number Diff line number Diff line change @@ -4,24 +4,19 @@ language: go
4
4
go :
5
5
- 1.11.x
6
6
- 1.12.x
7
- - tip
8
-
9
- matrix :
10
- allow_failures :
11
- - go : tip
7
+ - 1.13.x
12
8
13
9
before_install :
14
- - go get -u github. com/golang/dep/cmd/dep github.com/golangci/golangci-lint/cmd/golangci-lint
10
+ - curl -sfL https://install.goreleaser. com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.18.0
15
11
16
12
install :
17
- - dep ensure
13
+ - GO111MODULE=on go mod vendor
18
14
19
15
before_script :
20
- - golangci-lint run
16
+ - golangci-lint run ./...
21
17
22
18
script :
23
- - go test -covermode=atomic -coverprofile=coverage.txt
19
+ - go test -covermode=atomic -coverprofile=coverage.txt ./...
24
20
25
21
after_success :
26
22
- bash <(curl -s https://codecov.io/bash)
27
-
You can’t perform that action at this time.
0 commit comments