Skip to content

Commit

Permalink
debugging golangci-lint failure
Browse files Browse the repository at this point in the history
  • Loading branch information
joelanford committed May 1, 2020
1 parent a0b31a6 commit 732d3ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
language: go
go:
- "1.13"
- "1.14"
- "1.13.x"
- "1.14.x"

script:
- make lint test manager
- git diff --quiet
before_install:
- (cd /tmp && go get github.com/mattn/goveralls)

script:
- pwd
- make test manager lint && git diff
- $GOPATH/bin/goveralls -service=travis-ci -coverprofile=cover.out
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -covermode atomic -coverprofile cover.out ./...

# Build manager binary
manager: generate fmt vet
Expand Down

0 comments on commit 732d3ee

Please sign in to comment.