From e72c33089f8f77fd0750e472ae9e9d9fa15505d9 Mon Sep 17 00:00:00 2001 From: arnauddri Date: Wed, 14 Jan 2015 10:07:11 +0100 Subject: [PATCH 1/2] travis build icons --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c69c2e..390aa74 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# graph-go +# graph-go [![Build Status](https://travis-ci.org/arnauddri/graph-go.svg?branch=master)](https://travis-ci.org/arnauddri/graph-go) [![Coverage Status](https://img.shields.io/coveralls/arnauddri/graph-go.svg)](https://coveralls.io/r/arnauddri/graph-go?branch=master) An implementation of several graph algorithms in Go From a127357cc7922f19806d8f56e09f8db89fcf0c2b Mon Sep 17 00:00:00 2001 From: arnauddri Date: Wed, 14 Jan 2015 10:15:29 +0100 Subject: [PATCH 2/2] test coverage --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9bd9eb8..9929679 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,15 @@ go: - 1.3 - tip +before_install: + - 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 build -x -v ./... - - go test -x -v ./... + - $HOME/gopath/bin/goveralls -repotoken ux15ABaGKhX950IHUgNslS1rD9HYTOcrs + - go build -x -v ./... + - go test -x -v ./... notifications: email: