Skip to content

Commit

Permalink
add goveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
ota42y committed Dec 2, 2015
1 parent b8eb998 commit 2af5d1a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Circle CI](https://circleci.com/gh/ota42y/go-chatwork-api.svg?style=svg)](https://circleci.com/gh/ota42y/go-chatwork-api)
[![Coverage Status](https://coveralls.io/repos/ota42y/go-chatwork-api/badge.svg?branch=master&service=github)](https://coveralls.io/github/ota42y/go-chatwork-api?branch=master)
[![GoDoc](https://godoc.org/github.com/ota42y/go-chatwork-api?status.svg)](https://godoc.org/github.com/ota42y/go-chatwork-api)
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/ota42y/go-chatwork-api/LICENSE.txt)

Expand Down
12 changes: 12 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
machine:
timezone:
Asia/Tokyo
test:
pre:
- 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
override:
- go test -v -cover -race -coverprofile=./coverage.out
post:
- goveralls -coverprofile=./coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN

0 comments on commit 2af5d1a

Please sign in to comment.