Skip to content

Commit

Permalink
Add coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Mar 24, 2019
1 parent fc37d89 commit e2aaa72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -5,13 +5,16 @@ env:

install:
- go get golang.org/x/lint/golint
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls

script:
- go build ./...
- go test -v ./...
- go test -cover -race ./...
- go vet ./...
- test -z "$(gofmt -d -s *.go)"
- golint ./...
- go test -v -covermode=count -coverprofile=coverage.out
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

sudo: false
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -3,6 +3,7 @@
[![Build Status](https://travis-ci.org/twpayne/go-polyline.svg?branch=master)](https://travis-ci.org/twpayne/go-polyline)
[![GoDoc](https://godoc.org/github.com/twpayne/go-polyline?status.svg)](https://godoc.org/github.com/twpayne/go-polyline)
[![Report Card](https://goreportcard.com/badge/github.com/twpayne/go-polyline)](https://goreportcard.com/report/github.com/twpayne/go-polyline)
[![Coverage Status](https://coveralls.io/repos/github/twpayne/go-polyline/badge.svg)](https://coveralls.io/github/twpayne/go-polyline)

Package `polyline` implements a Google Maps Encoding Polyline encoder and decoder.

Expand Down

0 comments on commit e2aaa72

Please sign in to comment.