Skip to content

Commit

Permalink
coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
dhogborg committed Jun 30, 2016
1 parent 4a5c927 commit a16c0fe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# cellsynt
Cellsynt API lib in Go

[![wercker status](https://app.wercker.com/status/c215f070f60e91325c5fd6e8bd53c1c5/s "wercker status")](https://app.wercker.com/project/bykey/c215f070f60e91325c5fd6e8bd53c1c5) [![Coverage Status](https://coveralls.io/repos/github/greatbeyond/cellsynt/badge.svg?branch=master)](https://coveralls.io/github/greatbeyond/cellsynt?branch=master)

## Create a client
A client is used when communicating with Cellsynt.
```
Expand Down
17 changes: 15 additions & 2 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,21 @@ build:
code: |
go get ./...
# Build the project
# Build the project
- script:
name: go build
code: |
go build ./...
# Test the project
- script:
name: go test
code: |
make test
go get -d golang.org/x/tools/cmd/cover
go get github.com/modocache/gover
go get github.com/mattn/goveralls
git checkout master
go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -L 1 sh -c
gover
goveralls -coverprofile=gover.coverprofile -service=wercker.com -repotoken=$COVERALLS_TOKEN

0 comments on commit a16c0fe

Please sign in to comment.