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