{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/1837","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/1837/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/1837/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/1837/events","html_url":"https://github.com/travis-ci/travis-ci/issues/1837","id":25165534,"number":1837,"title":"Timeout when generating code-coverage in phpunit","user":{"login":"splitbrain","id":86426,"avatar_url":"https://avatars.githubusercontent.com/u/86426?v=3","gravatar_id":"","url":"https://api.github.com/users/splitbrain","html_url":"https://github.com/splitbrain","followers_url":"https://api.github.com/users/splitbrain/followers","following_url":"https://api.github.com/users/splitbrain/following{/other_user}","gists_url":"https://api.github.com/users/splitbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/splitbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splitbrain/subscriptions","organizations_url":"https://api.github.com/users/splitbrain/orgs","repos_url":"https://api.github.com/users/splitbrain/repos","events_url":"https://api.github.com/users/splitbrain/events{/privacy}","received_events_url":"https://api.github.com/users/splitbrain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/php","name":"php","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2014-01-07T12:51:40Z","updated_at":"2015-10-09T09:55:53Z","closed_at":"2014-06-10T06:12:49Z","body":"When I add --coverage-clover=coverage.clover to my phpunit command, the generation of the coverage report fails with the following error:\r\n\r\n```\r\nGenerating code coverage report in Clover XML format ...PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/travis/.phpenv/versions/5.5.7/share/pyrus/.pear/php/PHP/Token.php on line 432\r\n```\r\n\r\nThis puzzles me for several reasons:\r\n\r\n* generating the report takes only about 3 seconds on my local machine which actually seems to be slower than the test server (judging from the time the test suite needs)\r\n* command line PHP does not have a timeout usually, so this seems to be setup deliberately on Travis-CI?\r\n* it seems noone else is having this kind of problem as I couldn't find any similar reports when googling\r\n* my bootstrap.php file for phpunit explicitly calls ```set_time_limit(0);```\r\n\r\nIs there a way to fix this on my side?\r\n\r\nFull build log at https://travis-ci.org/splitbrain/dokuwiki/jobs/16522833\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/146818148","html_url":"https://github.com/travis-ci/travis-ci/issues/1837#issuecomment-146818148","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/1837","id":146818148,"user":{"login":"michaeltricht","id":7511094,"avatar_url":"https://avatars.githubusercontent.com/u/7511094?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeltricht","html_url":"https://github.com/michaeltricht","followers_url":"https://api.github.com/users/michaeltricht/followers","following_url":"https://api.github.com/users/michaeltricht/following{/other_user}","gists_url":"https://api.github.com/users/michaeltricht/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeltricht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeltricht/subscriptions","organizations_url":"https://api.github.com/users/michaeltricht/orgs","repos_url":"https://api.github.com/users/michaeltricht/repos","events_url":"https://api.github.com/users/michaeltricht/events{/privacy}","received_events_url":"https://api.github.com/users/michaeltricht/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T09:55:53Z","updated_at":"2015-10-09T09:55:53Z","body":"@Incognito What do you mean upgrading my error levels?\r\nI'm facing this issue on PHP 5.4.45 and PHPUnit 3.7.28"}}