Skip to content

Commit 4cb0a19

Browse files
committed
.golangci.yml,travis.yml: CI cleanup
1 parent 70ab7f6 commit 4cb0a19

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.golangci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
linters:
2+
disable-all: true
3+
enable:
4+
- govet
5+
- errcheck
6+
- staticcheck
7+
- unused
8+
- gosimple
9+
- structcheck
10+
- varcheck
11+
- ineffassign
12+
- deadcode
13+
- typecheck
14+
15+
run:
16+
deadline: 5m

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ before_install:
66
- (cd /tmp && go get github.com/mattn/goveralls)
77

88
script:
9-
- pwd
109
- make test manager lint && git diff
1110
- $GOPATH/bin/goveralls -service=travis-ci -coverprofile=cover.out

pkg/reconciler/reconciler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ func getManagerOrFail() manager.Manager {
852852

853853
func getRelease(name string, version int) *release.Release {
854854
return &release.Release{
855-
Name: "name",
855+
Name: name,
856856
Version: version,
857857
Manifest: fmt.Sprintf("v%d manifest", version),
858858
Info: &release.Info{

0 commit comments

Comments
 (0)