-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the phar is not working on HHVM #10
Comments
I am getting the same error: https://travis-ci.org/Molajo/Molajito/jobs/25213214#L80 |
Yeah, this has been reported a couple of times. I'm not sure where exactly there error lies (in PHAR generation or whether it is a bug in HHVM). It should generally be safe to not upload code coverage from the HHVM build though as we just process the upload from the first build right now. |
well, given that PHPUnit 4 supports collecting code coverage from HHVM, why not ? |
@schmittjoh Not sure how I would turn that off. Is there a configuration I can use other than this? I am not certain how to request uploading testing results differently (I believe this came from the Scrutinizer doc.) Thanks! :) |
@AmyStephen if you want to be sure it is not done on HHVM, use the following: - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;' |
you can skip the download of the phar on HHVM too btw |
Thanks @stof -- that works perfectly for both the phar and the upload. Appreciate the help! |
The ocular archive file cannot be executed on HHVM (it's reported to be corrupted, see scrutinizer-ci/ocular#10 for more information)
@stof, Thanks a lot! |
@schmittjoh I found facebook/hhvm#4263. It may be related |
Phar considered corrupt, ref. scrutinizer-ci/ocular#10 and facebook/hhvm#4263
Can anyone else confirm that this is working (again) with the |
If not, you can always use the packagist package "scrutinizer/ocular" instead if you would like to send data from an HHVM build. |
* allow to finish as fast as possible (when either a mandatorybuild failed or when only builds allowed to fail have not completed yet) * run tests with different Symfony versions on PHP 5.6 (was 5.5 before) * do not run tests with not-maintained Symfony versions * additionally run tests on PHP 7.0 and HHVM * send code coverage reports on HHVM too (scrutinizer-ci/ocular#10 does not seem to be an issue anymore)
Thanks for the hint, @schmittjoh. I don't need it at the moment (I just didn't send the reports in HHVM builds as suggested by @stof in #10 (comment)). Though this might be interesting for others as well. |
send code coverage reports on HHVM too (scrutinizer-ci/ocular#10 does not seem to be an issue anymore)
send code coverage reports on HHVM too (scrutinizer-ci/ocular#10 does not seem to be an issue anymore)
@stof maybe close this issue, HHVM is not something anymore |
The phar is reported as corrupted in HHVM: https://travis-ci.org/Behat/MinkBrowserKitDriver/jobs/24218053#L122
The text was updated successfully, but these errors were encountered: