diff --git a/.travis.yml b/.travis.yml index 729369d2..e8caedf8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index ecb99245..8bc875ce 100644 --- a/README.md +++ b/README.md @@ -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