diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-23 02:30:32 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-23 02:38:18 +0200 |
commit | bcaa1ac5644b16f1febb72f31e204720b7bb8934 (patch) | |
tree | cc4e71fcbdddd5cbcbccf46d7a999b9a1dacebcf | |
parent | e1d8866ffa78fa16d2f39b0ba5344a7269ee5371 (diff) | |
download | go-git-bcaa1ac5644b16f1febb72f31e204720b7bb8934.tar.gz |
travis
-rw-r--r-- | .travis.yml | 15 |
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) |