diff --git a/.circleci/config.yml b/.circleci/config.yml index 83df890..546ea79 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,14 +47,14 @@ jobs: - run: name: Run TestStart Golang tests command: | - go test -v -covermode=atomic -coverprofile=profile.out -run TestStart + go test -v -cover -race -coverprofile=coverage.out -run TestStart if [[ $? -ne 0 ]]; then cat -n *.log cat -n testing/output.* exit 1 else - /bin/bash <(curl -s https://codecov.io/bash) -f profile.out - exit 0 + go get -v github.com/mattn/goveralls + /go/bin/goveralls -service=circle-ci -repotoken=$COVERALLS_REPO_TOKEN -coverprofile=coverage.out fi deploy: diff --git a/README.md b/README.md index ad4a4c7..629c72f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ----- -[![CircleCI](https://circleci.com/gh/smithoss/gonymizer.svg?style=svg)](https://circleci.com/gh/smithoss/gonymizer)[![Slack](https://slackin.junkert.now.sh/badge.svg)](https://slackin.junkert.now.sh)[![codecov](https://codecov.io/gh/smithoss/gonymizer/branch/master/graph/badge.svg)](https://codecov.io/gh/smithoss/gonymizer)[![Go Report Card](https://goreportcard.com/badge/github.com/smithoss/gonymizer)](https://goreportcard.com/report/github.com/smithoss/gonymizer)[![GoDoc](https://godoc.org/github.com/smithoss/gonymizer?status.svg)](https://godoc.org/github.com/smithoss/gonymizer) +[![CircleCI](https://circleci.com/gh/smithoss/gonymizer.svg?style=svg)](https://circleci.com/gh/smithoss/gonymizer)[![Slack](https://slackin.junkert.now.sh/badge.svg)](https://slackin.junkert.now.sh)[![Coverage Status](https://coveralls.io/repos/github/smithoss/gonymizer/badge.svg?branch=master)](https://coveralls.io/github/smithoss/gonymizer?branch=master)[![Go Report Card](https://goreportcard.com/badge/github.com/smithoss/gonymizer)](https://goreportcard.com/report/github.com/smithoss/gonymizer)[![GoDoc](https://godoc.org/github.com/smithoss/gonymizer?status.svg)](https://godoc.org/github.com/smithoss/gonymizer) ## Weird name, what does it do? The Gonymizer project (Go + Anonymizer) is a project that was built at [SmithRx](https://www.smithrx.com) in hope to simplify the QA process. Gonymizer is