storj/.travis.yml
Dennis Coyle f2b6c18f2a adding coveralls / code coverage (#112)
* adding coveralls

* adding code coverage badge

* fixing badges

* verbose

* swap tests and coverage

* extra line

* maybe

* maybe

* moar

* gover maybe

* testing

* cleanup
2018-06-26 13:48:02 +02:00

16 lines
347 B
YAML

language: go
go:
- 1.10.x
before_install:
- source scripts/travis-deps.sh
install:
- make build-dev-deps
script:
- make test
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -L 1 sh -c
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci