Skip to content

Commit

Permalink
test.sh- add go install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Apr 17, 2022
1 parent 83bae88 commit c3589df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@
set -e
set -x

GOPATH=$(go env GOPATH)

########################
# Golang Testing #
########################

go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
go install golang.org/x/lint/golint@latest
go install github.com/gordonklaus/ineffassign@latest
go install github.com/client9/misspell/cmd/misspell@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

# https://golang.org/pkg/testing/
go test

Expand Down

0 comments on commit c3589df

Please sign in to comment.