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

Add coveralls

Update travis config

Update travis config

Add coveralls badge
This commit is contained in:
Adrian Zankich 2014-04-14 18:47:21 -07:00
parent 771b2fe9d2
commit 8fbff1e14b
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