mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-30 04:39:02 +01:00
Reenable SSH Functional Tests on Travis CI (PHP 5.3.3 and below).
This commit is contained in:
parent
fd6aa5258c
commit
f908040d20
@ -14,12 +14,6 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase
|
|||||||
|
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
if (getenv('TRAVIS') && version_compare(PHP_VERSION, '5.3.3', '<=')) {
|
|
||||||
self::markTestIncomplete(
|
|
||||||
'This test hangs on Travis CI on PHP 5.3.3 and below.'
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
parent::setUpBeforeClass();
|
parent::setUpBeforeClass();
|
||||||
|
|
||||||
self::$scratchDir = uniqid('phpseclib-sftp-scratch-');
|
self::$scratchDir = uniqid('phpseclib-sftp-scratch-');
|
||||||
|
@ -8,16 +8,6 @@
|
|||||||
|
|
||||||
class Functional_Net_SSH2Test extends PhpseclibFunctionalTestCase
|
class Functional_Net_SSH2Test 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'));
|
||||||
|
Loading…
Reference in New Issue
Block a user