-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
35 lines (25 loc) · 1.02 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sonar.projectKey=github.com/cloudfstrife/gpool_example
sonar.projectName=gpool_example
sonar.projectVersion=v0.0.3
sonar.sourceEncoding=UTF-8
sonar.sources=.
sonar.exclusions=**/*_test.go,**/vendor/**
sonar.tests=.
sonar.test.inclusions=**/*_test.go
sonar.test.exclusions=**/vendor/**
# go test -json > testing/test.report
sonar.go.tests.reportPaths=./testing/test.report
# go test -coverprofile=testing/cover.report
# sonar.go.coverage.reportPaths=./testing/cover.report
# golangci-lint run --out-format checkstyle ./... > testing/golangci-line.xml
sonar.go.golangci-lint.reportPaths=./testing/golangci-line.xml
# golint ./... > testing/goline.report
sonar.go.golint.reportPaths=./testing/goline.report
sonar.scm.disabled=true
# go vet ./... > testing/vet.report 2>&1
# sonar.go.govet.reportPaths=testing/vet.report
## go test -json > testing/test.report
## go test -coverprofile=testing/cover.report
## golangci-lint run --out-format checkstyle ./... > testing/golangci-line.xml
## golint ./... > testing/goline.report
## sonar-scanner