Skip to content

Commit

Permalink
Switch from dep to Go modules
Browse files Browse the repository at this point in the history
Update golangci-lint.
Disable the scopelint linter.
  • Loading branch information
ryboe authored and Ryan Boehning committed Nov 20, 2018
1 parent c23cc2b commit 5aef754
Show file tree
Hide file tree
Showing 543 changed files with 30,858 additions and 20,336 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ run:

linters:
enable-all: true
disable:
- scopelint

linters-settings:
gocyclo:
Expand Down
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ sudo: false

language: go

env:
- GO111MODULE=on

go:
- 1.x

Expand All @@ -18,7 +21,7 @@ notifications:

# like script, but with set -e
before_script:
- go install ./vendor/github.com/golangci/golangci-lint/cmd/golangci-lint
- go install -mod vendor ./vendor/github.com/golangci/golangci-lint/cmd/golangci-lint

# like before_script, but with set +e
script:
Expand Down
Loading

0 comments on commit 5aef754

Please sign in to comment.