| 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 |