|
|
|
@ -10,10 +10,11 @@ go: |
|
|
|
|
- 1.3 |
|
|
|
|
- 1.4 |
|
|
|
|
- tip |
|
|
|
|
|
|
|
|
|
before_install: |
|
|
|
|
- go get github.com/axw/gocov/gocov |
|
|
|
|
- go get github.com/mattn/goveralls |
|
|
|
|
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi |
|
|
|
|
|
|
|
|
|
script: |
|
|
|
|
- $HOME/gopath/bin/goveralls -service=travis-ci |
|
|
|
|
- go get golang.org/x/tools/cmd/cover |
|
|
|
|
- go get github.com/mattn/goveralls |
|
|
|
|
- go test -v -covermode=count -coverprofile=cover.out |
|
|
|
|
|
|
|
|
|
after_success: |
|
|
|
|
- goveralls -coverprofile=cover.out -service=travis-ci -repotoken I6M8FiXZzErImgwMotJ7fwFlHOX8Hqdq1 |