Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
Update comments on the use of -ignore flag for goveralls (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrytangyuan authored Apr 16, 2020
1 parent b8d5dca commit fe83529
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ script:
- ./hack/verify-codegen.sh
- go build ./...
- golangci-lint run ./...
# We customize the build step because by default
# Travis runs go test -v ./... which will include the vendor
# directory.
# With go 1.9 vendor will be automatically excluded.
# For now though we just run all tests in pkg.
# And we can not use ** because goveralls uses filepath.Match
# to match ignore files and it does not support it.
# Here we run all tests in pkg and we have to use `-ignore`
# since goveralls uses `filepath.Match` to match ignore files
# and it does not support patterns like `**`.
- goveralls -service=travis-ci -v -package ./... -ignore "test_job/client/*/*.go,test_job/client/*/*/*.go,test_job/client/*/*/*/*.go,test_job/client/*/*/*/*/*.go,test_job/client/*/*/*/*/*/*.go,test_job/client/*/*/*/*/*/*/*.go,test_job/testutil/*.go,test_job/*/*/*/zz_generated.*.go,test_job/*/*/*/*_generated.go,pkg/apis/common/*/zz_generated.*.go,pkg/apis/common/*/*_generated.go"

0 comments on commit fe83529

Please sign in to comment.