From ea4441247634dc01874bcae89f9e4fcb132917c4 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 2 Dec 2014 14:31:37 +0100 Subject: [PATCH 1/2] Skip the phar building on HHVM Building a phar does not work on HHVM. It looks like it tries to read the phar file which does not exist yet. --- tests/Composer/Test/AllFunctionalTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Composer/Test/AllFunctionalTest.php b/tests/Composer/Test/AllFunctionalTest.php index f27d58117..39f0c23d6 100644 --- a/tests/Composer/Test/AllFunctionalTest.php +++ b/tests/Composer/Test/AllFunctionalTest.php @@ -60,6 +60,10 @@ class AllFunctionalTest extends \PHPUnit_Framework_TestCase public function testBuildPhar() { + if (defined('HHVM_VERSION')) { + $this->markTestSkipped('Building the phar does not work on HHVM.'); + } + $fs = new Filesystem; $fs->removeDirectory(dirname(self::$pharPath)); $fs->ensureDirectoryExists(dirname(self::$pharPath)); From 68bcba3a036c0418fc3639a38496b910dfacbfeb Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 2 Dec 2014 14:32:37 +0100 Subject: [PATCH 2/2] Disallow failures on HHVM on Travis --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index d11676714..4aed11625 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,6 @@ php: - 5.6 - hhvm -matrix: - allow_failures: - - php: hhvm - before_script: - sudo apt-get install parallel - rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini