Skip to content

Commit

Permalink
Add codecov support.
Browse files Browse the repository at this point in the history
  • Loading branch information
benbjohnson committed Mar 1, 2019
1 parent f83aed5 commit 9ad62ac
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ jobs:
- image: circleci/golang:1.12

steps:
- run: go get github.com/mattn/goveralls

- checkout

- run: go test -v -covermode=count -coverprofile=/tmp/coverage.out .
- run: go test -v -covermode=atomic -coverprofile=coverage.txt .

- run: bash <(curl -s https://codecov.io/bash)

- run: /go/bin/goveralls -coverprofile=/tmp/coverage.out -service circle-ci -repotoken $COVERALLS_TOKEN

0 comments on commit 9ad62ac

Please sign in to comment.