aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 28d8a8b..da2ca69 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -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