Skip to content

Commit

Permalink
Fix problems with golang 1.14 and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-milkey committed Apr 13, 2020
1 parent b16dcd1 commit c85c2ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- stage: build
name: "build and test"
script:
- make test
- make coverage
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./build/bin/push-images; fi'
- stage: integration tests
if: type != pull_request
Expand Down
2 changes: 1 addition & 1 deletion build/bin/coveralls-coverage
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

go get github.com/go-playground/overalls && go get github.com/mattn/goveralls

overalls -project=github.com/onosproject/onos-config -concurrency 2 -covermode=count -ignore=".git,vendor,models,tools"
overalls -project=$GOPATH/src/github.com/onosproject/onos-config -concurrency 2 -covermode=count -ignore=".git,vendor,models,tools"
mv overalls.coverprofile overalls.coverprofile.orig
grep -v .pb.go overalls.coverprofile.orig >overalls.coverprofile
goveralls -coverprofile=overalls.coverprofile -service travis-ci

0 comments on commit c85c2ce

Please sign in to comment.