diff --git a/.travis.yml b/.travis.yml index cf2edce..9455d06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,10 @@ go: - tip install: - make install +before_script: + - go get github.com/axw/gocov/gocov + - go get github.com/mattn/goveralls + - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi script: - make travis notifications: diff --git a/Makefile b/Makefile index 532c1cf..ef12188 100644 --- a/Makefile +++ b/Makefile @@ -7,4 +7,4 @@ test: go test travis: - go test -v ./... + $(HOME)/gopath/bin/goveralls -service=travis-ci diff --git a/README.md b/README.md index a04dc3d..511e67a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# UUID Service [![Build Status](https://img.shields.io/travis/conortm/uuid-service.svg)](https://travis-ci.org/conortm/uuid-service) +# UUID Service [![Build Status](https://img.shields.io/travis/conortm/uuid-service.svg)](https://travis-ci.org/conortm/uuid-service) [![Coverage Status](https://img.shields.io/coveralls/conortm/uuid-service.svg)](https://coveralls.io/r/conortm/uuid-service?branch=master) A simple service for creating & getting UUIDs, provided a key.