Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
powerman committed Jan 17, 2018
1 parent 2f6f546 commit 722f901
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
- *setup_testing
- run: ./build
- run: ./test_integration
- run:
name: Report coverage
command: |
go get -v github.com/mattn/goveralls
goveralls -service=circle-ci
- *setup_image
- deploy:
name: Deploy to Docker Hub
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# go-service-stateless-example
[![CircleCI](https://circleci.com/gh/powerman/go-service-stateless-example.svg?style=svg)](https://circleci.com/gh/powerman/go-service-stateless-example)
# go-service-stateless-example [![CircleCI](https://circleci.com/gh/powerman/go-service-stateless-example.svg?style=svg)](https://circleci.com/gh/powerman/go-service-stateless-example) ![Coverage Status](https://coveralls.io/repos/github/powerman/go-service-stateless-example/badge.svg?branch=master)](https://coveralls.io/github/powerman/go-service-stateless-example?branch=master)

Example how to build and test stateless Go microservice with Docker,
Consul and Nginx.

0 comments on commit 722f901

Please sign in to comment.