From e33b9298c7b753e894620edeede6c82b0b4c1b48 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Thu, 10 Jul 2014 17:48:41 -0400 Subject: [PATCH 1/2] Note cert error workaround in README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 539829d..f438dcd 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,23 @@ right hand side of your feed. Please contact hello@codeclimate.com if you need any assistance setting this up. +## SSL Certificate Issue + +If you encounter an error involving SSL certificates when trying to report +coverage data from your CI server, you can work around it by manually posting +the data via `curl`: + +```yaml +after_script: + - CODECLIMATE_REPO_TOKEN="..." bin/test-reporter --stdout > codeclimate.json + - curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v1.0.1-dev)' https://codeclimate.com/test_reports +``` + +More details can be found in [this issue][issue]. + +[issue]: https://github.com/codeclimate/php-test-reporter/issues/3 + + ## Contributions Patches, bug fixes, feature requests, and pull requests are welcome on From a19b175b0486fcfe4d4fa7d1ddc1509b02611c28 Mon Sep 17 00:00:00 2001 From: Jonathan Powers Date: Thu, 10 Jul 2014 20:38:45 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f438dcd..332e00c 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ Code Climate's hosted, automated code review service. Code Climate - https://codeclimate.com +**Important:** If you encounter an error involving SSL certificates, see the **Known Issue: SSL Certificate Error** section below. + ## Installation This package requires a user, but not necessarily a paid account, on @@ -75,7 +77,7 @@ right hand side of your feed. Please contact hello@codeclimate.com if you need any assistance setting this up. -## SSL Certificate Issue +## Known Issue: SSL Certificate Error If you encounter an error involving SSL certificates when trying to report coverage data from your CI server, you can work around it by manually posting