Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with codeclimate.com integration #134

Closed
kamilsk opened this issue Aug 6, 2019 · 2 comments
Closed

problems with codeclimate.com integration #134

kamilsk opened this issue Aug 6, 2019 · 2 comments

Comments

@kamilsk
Copy link
Owner

kamilsk commented Aug 6, 2019

https://travis-ci.org/kamilsk/retry/jobs/567990296

@kamilsk
Copy link
Owner Author

kamilsk commented Aug 9, 2019

related to codeclimate/test-reporter#378

@kamilsk
Copy link
Owner Author

kamilsk commented Aug 9, 2019

#!/usr/bin/env bash

SECRET=...

docker run \
       --rm -it \
       -e CC_TEST_REPORTER_ID=${SECRET} \
       -e CODECLIMATE=https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 \
       -e GO111MODULE=on \
       -w /pkg/ \
       -v $(pwd):/pkg/ \
       golang:1.12 \
       bash -c 'curl -L $CODECLIMATE > ./cc-test-reporter; \
                chmod +x ./cc-test-reporter; \
                ./cc-test-reporter before-build; \
                make test-with-coverage-profile; \
                cat c.out && ./cc-test-reporter -v; \
                ./cc-test-reporter after-build -d -t gocov -p $(go list -m)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant