diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2019-03-01 16:11:28 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2019-03-01 16:11:44 -0700 |
commit | 9ad62ac41894d9651662137ccdd461b8305fa577 (patch) | |
tree | 38ba52394cc8a4d46061f8986fc0752ba9acec5e | |
parent | Add coveralls configuration. (diff) | |
download | pds-9ad62ac41894d9651662137ccdd461b8305fa577.tar.gz pds-9ad62ac41894d9651662137ccdd461b8305fa577.tar.xz |
Add codecov support.
-rw-r--r-- | .circleci/config.yml | 7 |
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 |