Browse Source

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 10 years ago
parent
commit
8142957515
1 changed files with 6 additions and 0 deletions
  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');