blob: 7ab153a6e397148a1796597c212f4618b984fab4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
language: go
go:
- 1.4
- 1.5
install:
- rm -rf $GOPATH/src/gopkg.in/src-d
- mkdir -p $GOPATH/src/gopkg.in/src-d
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-git.v2
- go get -v -t ./...
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/formats/packfile -covermode=count -coverprofile=tmp.out
- tail -n +2 tmp.out >> coverage.out
- go test -v gopkg.in/src-d/go-git.v2/formats/pktline -covermode=count -coverprofile=tmp.out
- tail -n +2 tmp.out >> coverage.out
after_success:
- bash <(curl -s https://codecov.io/bash)
|