31 lines
436 B
YAML
31 lines
436 B
YAML
language: go
|
|
|
|
|
|
go:
|
|
- 1.3
|
|
- 1.4
|
|
- 1.5
|
|
- tip
|
|
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
|
|
|
|
before_install:
|
|
- go get -u github.com/axw/gocov/gocov
|
|
- go get -u github.com/mattn/goveralls
|
|
- go get golang.org/x/tools/cmd/cover
|
|
|
|
|
|
#install:
|
|
#- go get -d -v -t ./...
|
|
|
|
|
|
script:
|
|
- go build -v ./cmd/...
|
|
- go test -v ./
|
|
- go test -covermode=count -coverprofile=profile.out .
|
|
- goveralls -covermode=count -service=travis-ci -v -coverprofile=profile.out
|