From 2427ee44a52b6df72a246be7fdc287695a358c85 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 31 Jan 2015 06:29:45 +0100 Subject: [PATCH] Updated travis to handle SSL errors when communicating with Code climate. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5eb9cd293a..102eb830b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,4 +20,5 @@ script: after_script: - cp -v tests/_output/coverage.xml build/logs/clover.xml - php vendor/bin/coveralls - - vendor/bin/test-reporter \ No newline at end of file + - vendor/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 v0.1.1)' https://codeclimate.com/test_reports" \ No newline at end of file