1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00

Merge pull request #41 from hybridgroup/coveralls

Add coveralls
This commit is contained in:
Ron Evans 2014-04-15 09:58:30 -07:00
commit 48b2eed23b
2 changed files with 7 additions and 4 deletions

View File

@ -1,15 +1,18 @@
language: go
go:
- 1.1
- 1.2
- release
- tip
install:
install:
- go get -v . && go build -v .
- go get github.com/onsi/ginkgo
- go get github.com/onsi/gomega
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -v .
- go test -covermode=count -coverprofile=profile.cov github.com/hybridgroup/gobot
- export PATH=$PATH:$HOME/gopath/bin/
- goveralls -coverprofile=profile.cov -service=travis-ci -repotoken=sFrR9ZmLP5FLc34lOaqir67RPzYOvFPUB
branches:
except:
- gobot.io

View File

@ -8,7 +8,7 @@ It provides a simple, yet powerful way to create solutions that incorporate mult
Want to use Ruby or Javascript on robots? Check out our sister projects Artoo (http://artoo.io) and Cylon.js (http://cylonjs.com/)
[![Build Status](https://travis-ci.org/hybridgroup/gobot.png?branch=master)](https://travis-ci.org/hybridgroup/gobot)
[![Build Status](https://travis-ci.org/hybridgroup/gobot.png?branch=master)](https://travis-ci.org/hybridgroup/gobot) [![Coverage Status](https://coveralls.io/repos/hybridgroup/gobot/badge.png?branch=coveralls)](https://coveralls.io/r/hybridgroup/gobot?branch=coveralls)
## Examples