Explorar el Código

Merge pull request #657 from mhujer/soap-skip-5-4-37

Skip Zend_Soap tests on Travis with PHP 5.4.37 because of segfaults
Frank Brückner hace 10 años
padre
commit
8142957515
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      tests/Zend/Soap/AllTests.php

+ 6 - 0
tests/Zend/Soap/AllTests.php

@@ -51,6 +51,12 @@ class Zend_Soap_AllTests
     {
         $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Soap');
 
+        //early exit because of segfault in this specific version
+        //https://github.com/zendframework/zf1/issues/650
+        if (getenv('TRAVIS') && version_compare(PHP_VERSION, '5.4.37', '=')) {
+            return $suite;
+        }
+
         $suite->addTestSuite('Zend_Soap_ClientTest');
         $suite->addTestSuite('Zend_Soap_ServerTest');
         $suite->addTestSuite('Zend_Soap_WsdlTest');