diff --git a/tests/Net/SSH2FunctionalTest.php b/tests/Net/SSH2FunctionalTest.php index 40bfeea3..34a9377b 100644 --- a/tests/Net/SSH2FunctionalTest.php +++ b/tests/Net/SSH2FunctionalTest.php @@ -8,6 +8,16 @@ class Net_SSH2FunctionalTest extends PhpseclibFunctionalTestCase { + public function setUp() + { + if (getenv('TRAVIS') && version_compare(PHP_VERSION, '5.3.3', '<=')) { + $this->markTestIncomplete( + 'This test hangs on Travis CI on PHP 5.3.3 and below.' + ); + } + parent::setUp(); + } + public function testConstructor() { $ssh = new Net_SSH2($this->getEnv('SSH_HOSTNAME'));