We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d7a833 commit ba18649Copy full SHA for ba18649
.travis.yml
@@ -10,10 +10,13 @@ install:
10
- go get github.com/jstemmer/go-junit-report
11
- go get golang.org/x/tools/cmd/cover
12
- go get github.com/mattn/goveralls
13
+ - go get github.com/wadey/gocovmerge
14
15
script:
16
- go build -v arduino.cc/arduino-builder
- - go test -v -timeout 30m -covermode=count -coverprofile=coverage.out arduino.cc/...
17
+ - export TEST_PACKAGES=`go list arduino.cc/...`
18
+ - I=0; for PKG in $TEST_PACKAGES; do go test -v -timeout 30m -covermode=count -coverprofile=coverage.$I.out $PKG; ((I++)); done
19
+ - bin/gocovmerge coverage.*.out > coverage.out
20
- bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
21
22
env:
0 commit comments