Add codecov.io
This commit is contained in:
parent
5c0cbe7322
commit
704e5d9d68
14
.travis.yml
14
.travis.yml
|
|
@ -8,4 +8,16 @@ go:
|
|||
- 1.6.x
|
||||
|
||||
script:
|
||||
- go test -v -race -cover ./...
|
||||
- |
|
||||
set -e +x
|
||||
rm -f coverage.txt
|
||||
for d in $(go list ./...); do
|
||||
( set -x; go test -v -race -cover -coverprofile=profile.out -covermode=atomic "$d" )
|
||||
if [ -f profile.out ]; then
|
||||
cat profile.out >> coverage.txt
|
||||
rm profile.out
|
||||
fi
|
||||
done
|
||||
|
||||
after_script:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# `import "github.com/docker-library/go-dockerlibrary/manifest"`
|
||||
|
||||
[](https://travis-ci.org/docker-library/go-dockerlibrary) [](https://godoc.org/github.com/docker-library/go-dockerlibrary)
|
||||
[](https://travis-ci.org/docker-library/go-dockerlibrary) [](https://godoc.org/github.com/docker-library/go-dockerlibrary) [](https://codecov.io/gh/docker-library/go-dockerlibrary)
|
||||
|
||||
This package contains the core parsing elements of [the `bashbrew` tool used by the Docker Official Images](https://github.com/docker-library/official-images/tree/master/bashbrew).
|
||||
|
|
|
|||
Loading…
Reference in New Issue