Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
Update travis config

Update travis config

Add coveralls badge
  • Loading branch information
zankich committed Apr 15, 2014
1 parent 771b2fe commit 8fbff1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8fbff1e

Please sign in to comment.