Browse Source

Merge pull request #3489 from stof/patch-1

Skip the phar building on HHVM
Jordi Boggiano 10 years ago
parent
commit
9950802466
2 changed files with 4 additions and 4 deletions
  1. 0 4
      .travis.yml
  2. 4 0
      tests/Composer/Test/AllFunctionalTest.php

+ 0 - 4
.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

+ 4 - 0
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));