Skip to content

Commit

Permalink
add coveralls (#6)
Browse files Browse the repository at this point in the history
* add coveralls

* update per feedback
  • Loading branch information
cpanato authored and lieut-data committed Apr 22, 2019
1 parent a5589cc commit 225317a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ jobs:
steps:
- checkout
- *restore_cache
- run: go test ./...
- run: |
go get golang.org/x/tools/cmd/cover
go get github.com/mattn/goveralls
- run: go test ./... -v -covermode=count -coverprofile=coverage.out
- *save_cache
- run:
name: coveralls
command: goveralls -coverprofile=coverage.out -service=circle-ci -repotoken $COVERALLS_REPO_TOKEN

workflows:
version: 2
Expand Down

0 comments on commit 225317a

Please sign in to comment.