Updated travis to handle SSL errors when communicating with Code climate.

This commit is contained in:
James Cole 2015-01-31 06:29:45 +01:00
parent ff0e617b2a
commit 2427ee44a5

View File

@ -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
- 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"