Added -coverpkg to correct code coverage.
@@ -41,7 +41,7 @@ script:
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
- go test -race -coverprofile=profile.out -covermode=atomic $d
+ go test -race -coverprofile=profile.out -coverpkg -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
