travis: fix installation of linters
@@ -17,15 +17,14 @@ env:
install:
- go install ./cmd/reviewdog
# Install linters.
- - (
- cd linters
- go get golang.org/x/lint/golint
- go get github.com/kisielk/errcheck
- go get honnef.co/go/tools/cmd/staticcheck
- go get github.com/client9/misspell/cmd/misspell
- go get mvdan.cc/unparam
- go get github.com/mgechev/revive
- )
+ - cd linters
+ - go get golang.org/x/lint/golint
+ - go get github.com/kisielk/errcheck
+ - go get honnef.co/go/tools/cmd/staticcheck
+ - go get github.com/client9/misspell/cmd/misspell
+ - go get mvdan.cc/unparam
+ - go get github.com/mgechev/revive
+ - cd -
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin
- npm install
