From 3d3d55b4078deef8688cc4dcb57b623206abc14e Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Tue, 4 Mar 2014 14:56:42 +0100 Subject: [PATCH] Mark SSH2 Test as Incomplete on Travis PHP 5.3.3 and below for now. --- tests/Net/SSH2FunctionalTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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'));