Mark SSH2 Test as Incomplete on Travis PHP 5.3.3 and below for now.

This commit is contained in:
Andreas Fischer 2014-03-04 14:56:42 +01:00
parent 00c19f4cc1
commit 3d3d55b407

View File

@ -8,6 +8,16 @@
class Net_SSH2FunctionalTest extends PhpseclibFunctionalTestCase 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() public function testConstructor()
{ {
$ssh = new Net_SSH2($this->getEnv('SSH_HOSTNAME')); $ssh = new Net_SSH2($this->getEnv('SSH_HOSTNAME'));