Skip to content

Commit

Permalink
Edit .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
osamingo committed Sep 11, 2019
1 parent 66924a3 commit 4f68e37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ issues:
- path: _test\.go
linters:
- dupl
- funlen
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ language: go
go:
- 1.11.x
- 1.12.x
- 1.13.x

before_install:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.18.0

before_script:
- golangci-lint run
- golangci-lint run ./...

script:
- go test -covermode=atomic -coverprofile=coverage.txt
Expand Down

0 comments on commit 4f68e37

Please sign in to comment.