updating travis

This commit is contained in:
zach rice committed 2019-03-29 18:39:52 -05:00
1 parent 660350c9b1
commit 633e06a7c7
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ test:
go get golang.org/x/lint/golint
go fmt
golint
go test --race --cover -run=Test$
go test --race --cover github.com/zricethezav/gitleaks/src
deploy:
@echo "$(DOCKER_PASSWORD)" | docker login -u "$(DOCKER_USERNAME)" --password-stdin
docker build -f Dockerfile -t $(REPO):$(TAG) .
+2 -1
View File
@@ -10,7 +10,8 @@ import (
func main() {
report, err := gitleaks.Run(gitleaks.ParseOpts())
if err != nil {
log.Fatal(err)
log.Error(err)
os.Exit(gitleaks.ErrExit)
}
if len(report.Leaks) != 0 {