Skip to content

Commit

Permalink
Move to Coveralls instead of Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi committed Sep 18, 2019
1 parent 8de965a commit 79a0b73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
working_directory: /tmp/gonymizer
steps:
- checkout
- setup_remote_docker
- run:
name: Go Mod
command: |
Expand Down Expand Up @@ -47,14 +48,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:
Expand Down

0 comments on commit 79a0b73

Please sign in to comment.