aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2019-03-01 16:11:28 -0700
committerBen Johnson <benbjohnson@yahoo.com>2019-03-01 16:11:44 -0700
commit9ad62ac41894d9651662137ccdd461b8305fa577 (patch)
tree38ba52394cc8a4d46061f8986fc0752ba9acec5e
parentAdd coveralls configuration. (diff)
downloadpds-9ad62ac41894d9651662137ccdd461b8305fa577.tar.gz
pds-9ad62ac41894d9651662137ccdd461b8305fa577.tar.xz
Add codecov support.
-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