jonaswouters / XhprofBundle

XHProf bundle for Symfony 2
210 stars 49 forks source link

Add travis file. #59

Closed stephpy closed 10 years ago

stephpy commented 10 years ago

ping @jonaswouters

Please, you have to activate travis on this bundle.

jonaswouters commented 10 years ago

I've updated the link, but the build is failing.

olaurendeau commented 10 years ago
The command "wget https://scrutinizer-ci.com/ocular.phar" exited with 0.
$ php ocular.phar code-coverage:upload --format=php-clover coverage.clover
#!/usr/bin/env php
Uploading code coverage for repository "g/jonaswouters/XhprofBundle" and revision "586c518434110f27ac0aa142188ac7f1a9698cb3"... Failed
{"error":{"code":404,"message":"Not Found"}}

It's because of scrutinizer would you like to create an account ? It will provide a code coverage badge. Or just remove those lines from .travis.yml

 +  - wget https://scrutinizer-ci.com/ocular.phar
 +  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
jonaswouters commented 10 years ago

on it

jonaswouters commented 10 years ago

Created an account on scrutinizer-ci.com and added the project. Does it need any configuration?

olaurendeau commented 10 years ago

Hum, no idea, but build is passing now :) https://scrutinizer-ci.com/g/jonaswouters/XhprofBundle/ Look like you have to configure something, but what ^^ It seems scrutinizer run out of space ! https://scrutinizer-ci.com/g/jonaswouters/XhprofBundle/inspections/33e87162-3c90-42a1-b922-990a0bc3dd38

jonaswouters commented 10 years ago

@olaurendeau working now :) Just had to rerun it. I think we might have to enable external code coverage. https://scrutinizer-ci.com/docs/tools/external-code-coverage/

olaurendeau commented 10 years ago

@jonaswouters Oops, it fail again ^^ https://scrutinizer-ci.com/g/jonaswouters/XhprofBundle/inspections/0fb92c60-1f28-4e97-8f8f-f5497ac8e346/config

jonaswouters commented 10 years ago

I'll run it again and paste what goes wrong.

jonaswouters commented 10 years ago

Actually: http://status.scrutinizer-ci.com/ Seems to be an outage.

olaurendeau commented 10 years ago

Nice :) What about code coverage ? It need an extra configuration ? https://scrutinizer-ci.com/g/jonaswouters/XhprofBundle/

jonaswouters commented 10 years ago

@olaurendeau yeah need to add it to the project... If I got time left today I'll check it out.

jonaswouters commented 10 years ago

@olaurendeau done! Code coverage is kinda poor right now though...

olaurendeau commented 10 years ago

@jonaswouters That's nice :) It just need to be improved !