blob: 24ddadf1bf63deb4e55d3b3a0b9babea245c2db6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
language: go
go:
- 1.3
- tip
env:
- "PATH=$HOME/gopath/bin:$PATH"
before_install:
- go get github.com/stretchr/testify/assert
- 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:
- go test -v -covermode=count -coverprofile=coverage.out
- goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN
|