Explorar o 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 %!s(int64=10) %!d(string=hai) anos
pai
achega
8142957515
Modificáronse 1 ficheiros con 6 adicións e 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');