aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 235ad5dd6baa3c8130769a41b0e35131a16dda80 (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
29
language: go

go:
  - 1.3
  - 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/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)