Skip to content

Commit 65c107f

Browse files
authored
Merge pull request #8 from infosiftr/codecov
Add codecov.io
2 parents 5c0cbe7 + 704e5d9 commit 65c107f

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.travis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,16 @@ go:
88
- 1.6.x
99

1010
script:
11-
- go test -v -race -cover ./...
11+
- |
12+
set -e +x
13+
rm -f coverage.txt
14+
for d in $(go list ./...); do
15+
( set -x; go test -v -race -cover -coverprofile=profile.out -covermode=atomic "$d" )
16+
if [ -f profile.out ]; then
17+
cat profile.out >> coverage.txt
18+
rm profile.out
19+
fi
20+
done
21+
22+
after_script:
23+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# `import "github.com/docker-library/go-dockerlibrary/manifest"`
22

3-
[![Travis Build Status](https://travis-ci.org/docker-library/go-dockerlibrary.svg?branch=master)](https://travis-ci.org/docker-library/go-dockerlibrary) [![GoDoc](https://godoc.org/github.com/docker-library/go-dockerlibrary?status.svg)](https://godoc.org/github.com/docker-library/go-dockerlibrary)
3+
[![Travis Build Status](https://travis-ci.org/docker-library/go-dockerlibrary.svg?branch=master)](https://travis-ci.org/docker-library/go-dockerlibrary) [![GoDoc](https://godoc.org/github.com/docker-library/go-dockerlibrary?status.svg)](https://godoc.org/github.com/docker-library/go-dockerlibrary) [![codecov](https://codecov.io/gh/docker-library/go-dockerlibrary/branch/master/graph/badge.svg)](https://codecov.io/gh/docker-library/go-dockerlibrary)
44

55
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).

0 commit comments

Comments
 (0)