File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,10 @@ language: go
22sudo : required
33
44go :
5- - 1.9 .x
5+ - 1.10 .x
66 - stable
77 - master
88
9- install :
10- # We need goverage to run go tests with -coverprofile for multiple packages
11- - go get github.com/haya14busa/goverage
12-
139before_script :
1410 # We don't want to run the demo set test with race condition testing.
1511 # The demo set is large and race tests take a lot longer
@@ -19,7 +15,7 @@ script:
1915 # Run race tests
2016 - go test -v -race -run "$race_tests" -timeout 15m
2117 # We run all tests again to get full coverage, technically unncecessary tho
22- - goverage -v -timeout 30m -coverprofile=coverage.txt $(go list ./... | grep -v msg | awk -vORS=' ' ' { print $1 }')
18+ - go test -v -timeout 30m -coverprofile=coverage.txt -coverpkg= $(go list ./... | grep -v msg | awk -vORS=, ' { print $1 }' | sed 's/,$/\n/') ./...
2319
2420after_success :
2521 - bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments