Remove the dep tool installation from travis CI

Use the just built gosec to scan the source code.
Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar 2019-04-25 14:22:49 +02:00 committed by Cosmin Cojocar
parent 950e84c3fa
commit 806908a805
2 changed files with 2 additions and 4 deletions

View file

@ -6,13 +6,11 @@ go:
- tip
install:
- go get -u github.com/golang/dep/cmd/dep
- go get -u golang.org/x/lint/golint
- go get -u github.com/onsi/ginkgo/ginkgo
- go get -u github.com/onsi/gomega
- go get -u golang.org/x/crypto/ssh
- go get -u github.com/lib/pq
- go get -u github.com/securego/gosec/cmd/gosec/...
- go get -v -t ./...
- export PATH=$PATH:$HOME/gopath/bin
- export GO111MODULE=on

View file

@ -8,11 +8,11 @@ CGO_ENABLED = 0
default:
$(MAKE) build
test:
test: build
test -z '$(FMT_CMD)'
go vet $(go list ./... | grep -v /vendor/)
golint -set_exit_status $(shell go list ./... | grep -v vendor)
gosec ./...
./$(BIN) ./...
ginkgo -r -v
test-coverage: