aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index a4b2dd6..7435821 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,6 @@ go:
- 1.3
- 1.4
- 1.5
- - tip
install:
- rm -rf $GOPATH/src/gopkg.in/src-d
@@ -14,3 +13,17 @@ install:
script:
- go test -v ./...
+
+script:
+ - go test -v gopkg.in/src-d/go-git.v2 -covermode=count -coverprofile=coverage.out
+ - go test -v gopkg.in/src-d/go-git.v2/clients/common -covermode=count -coverprofile=tmp.out
+ - tail -n +2 tmp.out >> coverage.out
+ - go test -v gopkg.in/src-d/go-git.v2/clients/http -covermode=count -coverprofile=tmp.out
+ - tail -n +2 tmp.out >> coverage.out
+ - go test -v gopkg.in/src-d/go-git.v2/packfile -covermode=count -coverprofile=tmp.out
+ - tail -n +2 tmp.out >> coverage.out
+ - go test -v gopkg.in/src-d/go-git.v2/pktline -covermode=count -coverprofile=tmp.out
+ - tail -n +2 tmp.out >> coverage.out
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)