mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
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:
parent
950e84c3fa
commit
806908a805
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue