Last active
August 29, 2015 13:58
-
-
Save realityking/10211265 to your computer and use it in GitHub Desktop.
Mockery Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.travis.yml b/.travis.yml | |
index 01b4c3f..aacdb9e 100644 | |
--- a/.travis.yml | |
+++ b/.travis.yml | |
@@ -9,7 +9,7 @@ php: | |
before_script: | |
- cp tests/acceptance.conf.php.default tests/acceptance.conf.php | |
- cp tests/smoke.conf.php.default tests/smoke.conf.php | |
- - composer update | |
+ - composer update --no-interaction | |
- gem install mailcatcher | |
- mailcatcher --smtp-port 4456 | |
diff --git a/phpunit/unit/Swift/Transport/EsmtpTransport/ExtensionSupportTest.php b/phpunit/unit/Swift/Transport/EsmtpTransport/ExtensionSupportTest.php | |
index 2f0b16d..10e085d 100644 | |
--- a/phpunit/unit/Swift/Transport/EsmtpTransport/ExtensionSupportTest.php | |
+++ b/phpunit/unit/Swift/Transport/EsmtpTransport/ExtensionSupportTest.php | |
@@ -12,6 +12,7 @@ interface Swift_Transport_EsmtpHandlerMixin extends Swift_Transport_EsmtpHandler | |
class Swift_Transport_EsmtpTransport_ExtensionSupportTest | |
extends Swift_Transport_EsmtpTransportTest | |
{ | |
+ | |
public function testExtensionHandlersAreSortedAsNeeded() | |
{ | |
$buf = $this->_getBuffer(); | |
@@ -231,18 +232,128 @@ class Swift_Transport_EsmtpTransport_ExtensionSupportTest | |
$smtp->send($message); | |
} | |
- /** | |
- * @group todo | |
- */ | |
public function testExtensionsAreNotifiedOnCommand() | |
- { | |
+ { | |
+ $buf = $this->_getBuffer(); | |
+ $smtp = $this->_getTransport($buf); | |
+ $ext1 = $this->getMockery('Swift_Transport_EsmtpHandler')->shouldIgnoreMissing(); | |
+ $ext2 = $this->getMockery('Swift_Transport_EsmtpHandler')->shouldIgnoreMissing(); | |
+ $ext3 = $this->getMockery('Swift_Transport_EsmtpHandler')->shouldIgnoreMissing(); | |
+ | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(0) | |
+ ->andReturn("220 server.com foo\r\n"); | |
+ $buf->shouldReceive('write') | |
+ ->once() | |
+ ->with('~^EHLO .+?\r\n$~D') | |
+ ->andReturn(1); | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(1) | |
+ ->andReturn("250-ServerName.tld\r\n"); | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(1) | |
+ ->andReturn("250-AUTH PLAIN LOGIN\r\n"); | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(1) | |
+ ->andReturn("250 SIZE=123456\r\n"); | |
+ $buf->shouldReceive('write') | |
+ ->once() | |
+ ->with("FOO\r\n") | |
+ ->andReturn(2); | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(2) | |
+ ->andReturn("250 Cool\r\n"); | |
+ $this->_finishBuffer($buf); | |
+ | |
+ $ext1->shouldReceive('getHandledKeyword') | |
+ ->zeroOrMoreTimes() | |
+ ->andReturn('AUTH'); | |
+ $ext1->shouldReceive('onCommand') | |
+ ->once() | |
+ ->with($smtp, "FOO\r\n", array(250, 251), \Mockery::any(), \Mockery::any()); | |
+ $ext2->shouldReceive('getHandledKeyword') | |
+ ->zeroOrMoreTimes() | |
+ ->andReturn('SIZE'); | |
+ $ext2->shouldReceive('onCommand') | |
+ ->once() | |
+ ->with($smtp, "FOO\r\n", array(250, 251), \Mockery::any(), \Mockery::any()); | |
+ $ext3->shouldReceive('getHandledKeyword') | |
+ ->zeroOrMoreTimes() | |
+ ->andReturn('STARTTLS'); | |
+ $ext3->shouldReceive('onCommand') | |
+ ->never() | |
+ ->with(\Mockery::any(), \Mockery::any(), \Mockery::any(), \Mockery::any(), \Mockery::any()); | |
+ | |
+ $smtp->setExtensionHandlers(array($ext1, $ext2, $ext3)); | |
+ $smtp->start(); | |
+ $smtp->executeCommand("FOO\r\n", array(250, 251)); | |
} | |
- /** | |
- * @group todo | |
- */ | |
public function testChainOfCommandAlgorithmWhenNotifyingExtensions() | |
{ | |
+ $buf = $this->_getBuffer(); | |
+ $smtp = $this->_getTransport($buf); | |
+ $ext1 = $this->getMockery('Swift_Transport_EsmtpHandler')->shouldIgnoreMissing(); | |
+ $ext2 = $this->getMockery('Swift_Transport_EsmtpHandler')->shouldIgnoreMissing(); | |
+ $ext3 = $this->getMockery('Swift_Transport_EsmtpHandler')->shouldIgnoreMissing(); | |
+ | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(0) | |
+ ->andReturn("220 server.com foo\r\n"); | |
+ $buf->shouldReceive('write') | |
+ ->once() | |
+ ->with('~^EHLO .+?\r\n$~D') | |
+ ->andReturn(1); | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(1) | |
+ ->andReturn("250-ServerName.tld\r\n"); | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(1) | |
+ ->andReturn("250-AUTH PLAIN LOGIN\r\n"); | |
+ $buf->shouldReceive('readLine') | |
+ ->once() | |
+ ->with(1) | |
+ ->andReturn("250 SIZE=123456\r\n"); | |
+ $buf->shouldReceive('write') | |
+ ->never() | |
+ ->with("FOO\r\n"); | |
+ $this->_finishBuffer($buf); | |
+ | |
+ $ext1->shouldReceive('getHandledKeyword') | |
+ ->zeroOrMoreTimes() | |
+ ->andReturn('AUTH'); | |
+ $ext1->shouldReceive('onCommand') | |
+ ->once() | |
+ ->with($smtp, "FOO\r\n", array(250, 251), \Mockery::any(), \Mockery::any()) | |
+ ->andReturnUsing(function($a, $b, $c, $d, &$e) { | |
+ $e = true; | |
+ return "250 ok"; | |
+ }); | |
+ $ext2->shouldReceive('getHandledKeyword') | |
+ ->zeroOrMoreTimes() | |
+ ->andReturn('SIZE'); | |
+ $ext2->shouldReceive('onCommand') | |
+ ->never() | |
+ ->with(\Mockery::any(), \Mockery::any(), \Mockery::any(), \Mockery::any()); | |
+ | |
+ $ext3->shouldReceive('getHandledKeyword') | |
+ ->zeroOrMoreTimes() | |
+ ->andReturn('STARTTLS'); | |
+ $ext3->shouldReceive('onCommand') | |
+ ->never() | |
+ ->with(\Mockery::any(), \Mockery::any(), \Mockery::any(), \Mockery::any()); | |
+ | |
+ $smtp->setExtensionHandlers(array($ext1, $ext2, $ext3)); | |
+ $smtp->start(); | |
+ $smtp->executeCommand("FOO\r\n", array(250, 251)); | |
} | |
public function testExtensionsCanExposeMixinMethods() | |
diff --git a/tests/unit/Swift/Transport/EsmtpTransport/ExtensionSupportTest.php b/tests/unit/Swift/Transport/EsmtpTransport/ExtensionSupportTest.php | |
index 7003a31..7a5de9c 100644 | |
--- a/tests/unit/Swift/Transport/EsmtpTransport/ExtensionSupportTest.php | |
+++ b/tests/unit/Swift/Transport/EsmtpTransport/ExtensionSupportTest.php | |
@@ -55,78 +55,4 @@ class Swift_Transport_EsmtpTransport_ExtensionSupportTest | |
$smtp->start(); | |
$smtp->send($message); | |
} | |
- | |
- public function testExtensionsAreNotifiedOnCommand() | |
- { | |
- $buf = $this->_getBuffer(); | |
- $smtp = $this->_getTransport($buf); | |
- $ext1 = $this->_mock('Swift_Transport_EsmtpHandler'); | |
- $ext2 = $this->_mock('Swift_Transport_EsmtpHandler'); | |
- $ext3 = $this->_mock('Swift_Transport_EsmtpHandler'); | |
- $s = $this->_sequence('Initiation-sequence'); | |
- $this->_checking(Expectations::create() | |
- -> one($buf)->readLine(0) -> inSequence($s) -> returns("220 server.com foo\r\n") | |
- -> one($buf)->write(pattern('~^EHLO .*?\r\n$~D')) -> inSequence($s) -> returns(1) | |
- -> one($buf)->readLine(1) -> inSequence($s) -> returns("250-ServerName.tld\r\n") | |
- -> one($buf)->readLine(1) -> inSequence($s) -> returns("250-AUTH PLAIN LOGIN\r\n") | |
- -> one($buf)->readLine(1) -> inSequence($s) -> returns("250 SIZE=123456\r\n") | |
- -> one($buf)->write("FOO\r\n") -> inSequence($s) -> returns(2) | |
- -> one($buf)->readLine(2) -> inSequence($s) -> returns("250 Cool\r\n") | |
- | |
- -> allowing($ext1)->getHandledKeyword() -> returns('AUTH') | |
- -> one($ext1)->onCommand($smtp, "FOO\r\n", array(250, 251), optional()) | |
- -> allowing($ext2)->getHandledKeyword() -> returns('SIZE') | |
- -> one($ext2)->onCommand($smtp, "FOO\r\n", array(250, 251), optional()) | |
- -> allowing($ext3)->getHandledKeyword() -> returns('STARTTLS') | |
- -> never($ext3)->onCommand(any(), any(), any(), optional()) | |
- -> ignoring($ext1) | |
- -> ignoring($ext2) | |
- -> ignoring($ext3) | |
- ); | |
- $this->_finishBuffer($buf); | |
- $smtp->setExtensionHandlers(array($ext1, $ext2, $ext3)); | |
- $smtp->start(); | |
- $smtp->executeCommand("FOO\r\n", array(250, 251)); | |
- } | |
- | |
- public function testChainOfCommandAlgorithmWhenNotifyingExtensions() | |
- { | |
- $buf = $this->_getBuffer(); | |
- $smtp = $this->_getTransport($buf); | |
- $ext1 = $this->_mock('Swift_Transport_EsmtpHandler'); | |
- $ext2 = $this->_mock('Swift_Transport_EsmtpHandler'); | |
- $ext3 = $this->_mock('Swift_Transport_EsmtpHandler'); | |
- $s = $this->_sequence('Initiation-sequence'); | |
- $this->_checking(Expectations::create() | |
- -> one($buf)->readLine(0) -> inSequence($s) -> returns("220 server.com foo\r\n") | |
- -> one($buf)->write(pattern('~^EHLO .*?\r\n$~D')) -> inSequence($s) -> returns(1) | |
- -> one($buf)->readLine(1) -> inSequence($s) -> returns("250-ServerName.tld\r\n") | |
- -> one($buf)->readLine(1) -> inSequence($s) -> returns("250-AUTH PLAIN LOGIN\r\n") | |
- -> one($buf)->readLine(1) -> inSequence($s) -> returns("250 SIZE=123456\r\n") | |
- -> never($buf)->write("FOO\r\n") | |
- | |
- -> allowing($ext1)->getHandledKeyword() -> returns('AUTH') | |
- -> one($ext1)->onCommand($smtp, "FOO\r\n", array(250, 251), optional()) -> calls(array($this, 'cbStopCommand')) | |
- -> allowing($ext2)->getHandledKeyword() -> returns('SIZE') | |
- -> never($ext2)->onCommand(any(), any(), any(), optional()) | |
- -> allowing($ext3)->getHandledKeyword() -> returns('STARTTLS') | |
- -> never($ext3)->onCommand(any(), any(), any(), optional()) | |
- -> ignoring($ext1) | |
- -> ignoring($ext2) | |
- -> ignoring($ext3) | |
- ); | |
- $this->_finishBuffer($buf); | |
- $smtp->setExtensionHandlers(array($ext1, $ext2, $ext3)); | |
- $smtp->start(); | |
- $smtp->executeCommand("FOO\r\n", array(250, 251)); | |
- } | |
- | |
- public function cbStopCommand(Yay_Invocation $invocation) | |
- { | |
- $args =& $invocation->getArguments(); | |
- $stop =& $args[4]; | |
- $stop = true; | |
- | |
- return "250 ok"; | |
- } | |
} | |
diff --git a/tests/unit/Swift/Transport/EsmtpTransportTest.php b/tests/unit/Swift/Transport/EsmtpTransportTest.php | |
index 9c02eeb..835f2e5 100644 | |
--- a/tests/unit/Swift/Transport/EsmtpTransportTest.php | |
+++ b/tests/unit/Swift/Transport/EsmtpTransportTest.php | |
@@ -16,10 +16,6 @@ class Swift_Transport_EsmtpTransportTest | |
return new Swift_Transport_EsmtpTransport($buf, array(), $dispatcher); | |
} | |
- public function testHeloIsUsedAsFallback() | |
- { | |
- } | |
- | |
// From Swift_Transport_AbstractSmtpEventSupportTest | |
protected function _createEventDispatcher($stub = true) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using worker: worker-linux-6-1.bb.travis-ci.org:travis-linux-4 | |
travis_fold:start:git.1 | |
$ git clone --depth=50 --branch=phpunit-broken git://github.com/realityking/swiftmailer.git realityking/swiftmailer | |
Cloning into 'realityking/swiftmailer'... | |
remote: Counting objects: 3010, done.[K | |
remote: Compressing objects: 0% (1/2027) [K | |
remote: Compressing objects: 1% (21/2027) [K | |
remote: Compressing objects: 2% (41/2027) [K | |
remote: Compressing objects: 3% (61/2027) [K | |
remote: Compressing objects: 4% (82/2027) [K | |
remote: Compressing objects: 5% (102/2027) [K | |
remote: Compressing objects: 6% (122/2027) [K | |
remote: Compressing objects: 7% (142/2027) [K | |
remote: Compressing objects: 8% (163/2027) [K | |
remote: Compressing objects: 9% (183/2027) [K | |
remote: Compressing objects: 10% (203/2027) [K | |
remote: Compressing objects: 11% (223/2027) [K | |
remote: Compressing objects: 12% (244/2027) [K | |
remote: Compressing objects: 13% (264/2027) [K | |
remote: Compressing objects: 14% (284/2027) [K | |
remote: Compressing objects: 15% (305/2027) [K | |
remote: Compressing objects: 16% (325/2027) [K | |
remote: Compressing objects: 17% (345/2027) [K | |
remote: Compressing objects: 18% (365/2027) [K | |
remote: Compressing objects: 19% (386/2027) [K | |
remote: Compressing objects: 20% (406/2027) [K | |
remote: Compressing objects: 21% (426/2027) [K | |
remote: Compressing objects: 22% (446/2027) [K | |
remote: Compressing objects: 23% (467/2027) [K | |
remote: Compressing objects: 24% (487/2027) [K | |
remote: Compressing objects: 25% (507/2027) [K | |
remote: Compressing objects: 26% (528/2027) [K | |
remote: Compressing objects: 27% (548/2027) [K | |
remote: Compressing objects: 28% (568/2027) [K | |
remote: Compressing objects: 29% (588/2027) [K | |
remote: Compressing objects: 30% (609/2027) [K | |
remote: Compressing objects: 31% (629/2027) [K | |
remote: Compressing objects: 32% (649/2027) [K | |
remote: Compressing objects: 33% (669/2027) [K | |
remote: Compressing objects: 34% (690/2027) [K | |
remote: Compressing objects: 35% (710/2027) [K | |
remote: Compressing objects: 36% (730/2027) [K | |
remote: Compressing objects: 37% (750/2027) [K | |
remote: Compressing objects: 38% (771/2027) [K | |
remote: Compressing objects: 39% (791/2027) [K | |
remote: Compressing objects: 40% (811/2027) [K | |
remote: Compressing objects: 41% (832/2027) [K | |
remote: Compressing objects: 42% (852/2027) [K | |
remote: Compressing objects: 43% (872/2027) [K | |
remote: Compressing objects: 44% (892/2027) [K | |
remote: Compressing objects: 45% (913/2027) [K | |
remote: Compressing objects: 46% (933/2027) [K | |
remote: Compressing objects: 47% (953/2027) [K | |
remote: Compressing objects: 48% (973/2027) [K | |
remote: Compressing objects: 49% (994/2027) [K | |
remote: Compressing objects: 50% (1014/2027) [K | |
remote: Compressing objects: 51% (1034/2027) [K | |
remote: Compressing objects: 52% (1055/2027) [K | |
remote: Compressing objects: 53% (1075/2027) [K | |
remote: Compressing objects: 54% (1095/2027) [K | |
remote: Compressing objects: 55% (1115/2027) [K | |
remote: Compressing objects: 56% (1136/2027) [K | |
remote: Compressing objects: 57% (1156/2027) [K | |
remote: Compressing objects: 58% (1176/2027) [K | |
remote: Compressing objects: 59% (1196/2027) [K | |
remote: Compressing objects: 60% (1217/2027) [K | |
remote: Compressing objects: 61% (1237/2027) [K | |
remote: Compressing objects: 62% (1257/2027) [K | |
remote: Compressing objects: 63% (1278/2027) [K | |
remote: Compressing objects: 64% (1298/2027) [K | |
remote: Compressing objects: 65% (1318/2027) [K | |
remote: Compressing objects: 66% (1338/2027) [K | |
remote: Compressing objects: 67% (1359/2027) [K | |
remote: Compressing objects: 68% (1379/2027) [K | |
remote: Compressing objects: 69% (1399/2027) [K | |
remote: Compressing objects: 70% (1419/2027) [K | |
remote: Compressing objects: 71% (1440/2027) [K | |
remote: Compressing objects: 72% (1460/2027) [K | |
remote: Compressing objects: 73% (1480/2027) [K | |
remote: Compressing objects: 74% (1500/2027) [K | |
remote: Compressing objects: 75% (1521/2027) [K | |
remote: Compressing objects: 76% (1541/2027) [K | |
remote: Compressing objects: 77% (1561/2027) [K | |
remote: Compressing objects: 78% (1582/2027) [K | |
remote: Compressing objects: 79% (1602/2027) [K | |
remote: Compressing objects: 80% (1622/2027) [K | |
remote: Compressing objects: 81% (1642/2027) [K | |
remote: Compressing objects: 82% (1663/2027) [K | |
remote: Compressing objects: 83% (1683/2027) [K | |
remote: Compressing objects: 84% (1703/2027) [K | |
remote: Compressing objects: 85% (1723/2027) [K | |
remote: Compressing objects: 86% (1744/2027) [K | |
remote: Compressing objects: 87% (1764/2027) [K | |
remote: Compressing objects: 88% (1784/2027) [K | |
remote: Compressing objects: 89% (1805/2027) [K | |
remote: Compressing objects: 90% (1825/2027) [K | |
remote: Compressing objects: 91% (1845/2027) [K | |
remote: Compressing objects: 92% (1865/2027) [K | |
remote: Compressing objects: 93% (1886/2027) [K | |
remote: Compressing objects: 94% (1906/2027) [K | |
remote: Compressing objects: 95% (1926/2027) [K | |
remote: Compressing objects: 96% (1946/2027) [K | |
remote: Compressing objects: 97% (1967/2027) [K | |
remote: Compressing objects: 98% (1987/2027) [K | |
remote: Compressing objects: 99% (2007/2027) [K | |
remote: Compressing objects: 100% (2027/2027) [K | |
remote: Compressing objects: 100% (2027/2027), done.[K | |
Receiving objects: 0% (1/3010) | |
Receiving objects: 1% (31/3010) | |
Receiving objects: 2% (61/3010) | |
Receiving objects: 3% (91/3010) | |
Receiving objects: 4% (121/3010) | |
Receiving objects: 5% (151/3010) | |
Receiving objects: 6% (181/3010) | |
Receiving objects: 7% (211/3010) | |
Receiving objects: 8% (241/3010) | |
Receiving objects: 9% (271/3010) | |
Receiving objects: 10% (301/3010) | |
Receiving objects: 11% (332/3010) | |
Receiving objects: 12% (362/3010) | |
Receiving objects: 13% (392/3010) | |
Receiving objects: 14% (422/3010) | |
Receiving objects: 15% (452/3010) | |
Receiving objects: 16% (482/3010) | |
Receiving objects: 17% (512/3010) | |
Receiving objects: 18% (542/3010) | |
Receiving objects: 19% (572/3010) | |
Receiving objects: 20% (602/3010) | |
Receiving objects: 21% (633/3010) | |
Receiving objects: 22% (663/3010) | |
Receiving objects: 23% (693/3010) | |
Receiving objects: 24% (723/3010) | |
Receiving objects: 25% (753/3010) | |
Receiving objects: 26% (783/3010) | |
Receiving objects: 27% (813/3010) | |
Receiving objects: 28% (843/3010) | |
Receiving objects: 29% (873/3010) | |
Receiving objects: 30% (903/3010) | |
Receiving objects: 31% (934/3010) | |
Receiving objects: 32% (964/3010) | |
Receiving objects: 33% (994/3010) | |
Receiving objects: 34% (1024/3010) | |
Receiving objects: 35% (1054/3010) | |
Receiving objects: 36% (1084/3010) | |
Receiving objects: 37% (1114/3010) | |
Receiving objects: 38% (1144/3010) | |
Receiving objects: 39% (1174/3010) | |
Receiving objects: 40% (1204/3010) | |
Receiving objects: 41% (1235/3010) | |
Receiving objects: 42% (1265/3010) | |
Receiving objects: 43% (1295/3010) | |
Receiving objects: 44% (1325/3010) | |
Receiving objects: 45% (1355/3010) | |
Receiving objects: 46% (1385/3010) | |
Receiving objects: 47% (1415/3010) | |
Receiving objects: 48% (1445/3010) | |
Receiving objects: 49% (1475/3010) | |
Receiving objects: 50% (1505/3010) | |
Receiving objects: 51% (1536/3010) | |
Receiving objects: 52% (1566/3010) | |
Receiving objects: 53% (1596/3010) | |
Receiving objects: 54% (1626/3010) | |
Receiving objects: 55% (1656/3010) | |
Receiving objects: 56% (1686/3010) | |
Receiving objects: 57% (1716/3010) | |
Receiving objects: 58% (1746/3010) | |
Receiving objects: 59% (1776/3010) | |
Receiving objects: 60% (1806/3010) | |
Receiving objects: 61% (1837/3010) | |
Receiving objects: 62% (1867/3010) | |
Receiving objects: 63% (1897/3010) | |
Receiving objects: 64% (1927/3010) | |
Receiving objects: 65% (1957/3010) | |
Receiving objects: 66% (1987/3010) | |
Receiving objects: 67% (2017/3010) | |
Receiving objects: 68% (2047/3010) | |
Receiving objects: 69% (2077/3010) | |
Receiving objects: 70% (2107/3010) | |
Receiving objects: 71% (2138/3010) | |
Receiving objects: 72% (2168/3010) | |
Receiving objects: 73% (2198/3010) | |
Receiving objects: 74% (2228/3010) | |
Receiving objects: 75% (2258/3010) | |
Receiving objects: 76% (2288/3010) | |
Receiving objects: 77% (2318/3010) | |
Receiving objects: 78% (2348/3010) | |
Receiving objects: 79% (2378/3010) | |
Receiving objects: 80% (2408/3010) | |
Receiving objects: 81% (2439/3010) | |
Receiving objects: 82% (2469/3010) | |
Receiving objects: 83% (2499/3010) | |
Receiving objects: 84% (2529/3010) | |
Receiving objects: 85% (2559/3010) | |
Receiving objects: 86% (2589/3010) | |
Receiving objects: 87% (2619/3010) | |
Receiving objects: 88% (2649/3010) | |
Receiving objects: 89% (2679/3010) | |
Receiving objects: 90% (2709/3010) | |
Receiving objects: 91% (2740/3010) | |
Receiving objects: 92% (2770/3010) | |
remote: Total 3010 (delta 1117), reused 2660 (delta 863)[K | |
Receiving objects: 93% (2800/3010) | |
Receiving objects: 94% (2830/3010) | |
Receiving objects: 95% (2860/3010) | |
Receiving objects: 96% (2890/3010) | |
Receiving objects: 97% (2920/3010) | |
Receiving objects: 98% (2950/3010) | |
Receiving objects: 99% (2980/3010) | |
Receiving objects: 100% (3010/3010) | |
Receiving objects: 100% (3010/3010), 2.61 MiB | 0 bytes/s, done. | |
Resolving deltas: 0% (0/1117) | |
Resolving deltas: 1% (15/1117) | |
Resolving deltas: 2% (25/1117) | |
Resolving deltas: 3% (39/1117) | |
Resolving deltas: 4% (45/1117) | |
Resolving deltas: 5% (62/1117) | |
Resolving deltas: 6% (68/1117) | |
Resolving deltas: 7% (80/1117) | |
Resolving deltas: 8% (90/1117) | |
Resolving deltas: 9% (106/1117) | |
Resolving deltas: 10% (115/1117) | |
Resolving deltas: 11% (123/1117) | |
Resolving deltas: 12% (137/1117) | |
Resolving deltas: 13% (149/1117) | |
Resolving deltas: 14% (160/1117) | |
Resolving deltas: 16% (182/1117) | |
Resolving deltas: 17% (194/1117) | |
Resolving deltas: 18% (204/1117) | |
Resolving deltas: 19% (218/1117) | |
Resolving deltas: 20% (224/1117) | |
Resolving deltas: 21% (236/1117) | |
Resolving deltas: 22% (248/1117) | |
Resolving deltas: 23% (257/1117) | |
Resolving deltas: 24% (269/1117) | |
Resolving deltas: 25% (280/1117) | |
Resolving deltas: 26% (301/1117) | |
Resolving deltas: 27% (307/1117) | |
Resolving deltas: 28% (321/1117) | |
Resolving deltas: 29% (324/1117) | |
Resolving deltas: 30% (336/1117) | |
Resolving deltas: 31% (347/1117) | |
Resolving deltas: 32% (359/1117) | |
Resolving deltas: 33% (370/1117) | |
Resolving deltas: 34% (382/1117) | |
Resolving deltas: 35% (392/1117) | |
Resolving deltas: 36% (403/1117) | |
Resolving deltas: 37% (417/1117) | |
Resolving deltas: 38% (425/1117) | |
Resolving deltas: 39% (436/1117) | |
Resolving deltas: 40% (447/1117) | |
Resolving deltas: 41% (460/1117) | |
Resolving deltas: 42% (470/1117) | |
Resolving deltas: 43% (481/1117) | |
Resolving deltas: 44% (492/1117) | |
Resolving deltas: 45% (504/1117) | |
Resolving deltas: 46% (514/1117) | |
Resolving deltas: 47% (527/1117) | |
Resolving deltas: 48% (537/1117) | |
Resolving deltas: 49% (550/1117) | |
Resolving deltas: 50% (559/1117) | |
Resolving deltas: 51% (576/1117) | |
Resolving deltas: 52% (581/1117) | |
Resolving deltas: 53% (599/1117) | |
Resolving deltas: 54% (606/1117) | |
Resolving deltas: 58% (656/1117) | |
Resolving deltas: 59% (660/1117) | |
Resolving deltas: 60% (674/1117) | |
Resolving deltas: 61% (682/1117) | |
Resolving deltas: 62% (693/1117) | |
Resolving deltas: 63% (704/1117) | |
Resolving deltas: 64% (720/1117) | |
Resolving deltas: 65% (735/1117) | |
Resolving deltas: 66% (747/1117) | |
Resolving deltas: 67% (755/1117) | |
Resolving deltas: 68% (764/1117) | |
Resolving deltas: 69% (773/1117) | |
Resolving deltas: 73% (821/1117) | |
Resolving deltas: 74% (827/1117) | |
Resolving deltas: 75% (838/1117) | |
Resolving deltas: 76% (852/1117) | |
Resolving deltas: 79% (893/1117) | |
Resolving deltas: 80% (897/1117) | |
Resolving deltas: 81% (909/1117) | |
Resolving deltas: 82% (918/1117) | |
Resolving deltas: 83% (933/1117) | |
Resolving deltas: 84% (939/1117) | |
Resolving deltas: 85% (950/1117) | |
Resolving deltas: 86% (964/1117) | |
Resolving deltas: 87% (972/1117) | |
Resolving deltas: 88% (984/1117) | |
Resolving deltas: 89% (995/1117) | |
Resolving deltas: 90% (1006/1117) | |
Resolving deltas: 91% (1017/1117) | |
Resolving deltas: 92% (1028/1117) | |
Resolving deltas: 93% (1039/1117) | |
Resolving deltas: 94% (1051/1117) | |
Resolving deltas: 95% (1063/1117) | |
Resolving deltas: 96% (1076/1117) | |
Resolving deltas: 97% (1085/1117) | |
Resolving deltas: 98% (1101/1117) | |
Resolving deltas: 99% (1112/1117) | |
Resolving deltas: 100% (1117/1117) | |
Resolving deltas: 100% (1117/1117), done. | |
Checking connectivity... done. | |
travis_fold:end:git.1 | |
$ cd realityking/swiftmailer | |
travis_fold:start:git.3 | |
$ git checkout -qf b843db5e5e74ad6444caf38462db8bf564303bbd | |
travis_fold:end:git.3 | |
$ phpenv global 5.3 | |
$ php --version | |
PHP 5.3.27 (cli) (built: Feb 10 2014 02:21:51) | |
Copyright (c) 1997-2013 The PHP Group | |
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies | |
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans | |
$ composer --version | |
[30;43mWarning: This development build of composer is over 30 days old. It is recommended to update it by running "/home/travis/.phpenv/versions/5.3.27/bin/composer.phar self-update" to get the latest version.[0m | |
[32mComposer[0m version [33m7343198817f365b1676ced0f353808f0e408ff9a[0m 2014-02-07 09:59:35 | |
travis_fold:start:before_script.1 | |
$ cp tests/acceptance.conf.php.default tests/acceptance.conf.php | |
travis_fold:end:before_script.1 | |
travis_fold:start:before_script.2 | |
$ cp tests/smoke.conf.php.default tests/smoke.conf.php | |
travis_fold:end:before_script.2 | |
travis_fold:start:before_script.3 | |
$ composer update --no-interaction | |
[30;43mWarning: This development build of composer is over 30 days old. It is recommended to update it by running "/home/travis/.phpenv/versions/5.3.27/bin/composer.phar self-update" to get the latest version.[0m | |
[32mLoading composer repositories with package information[0m | |
[32mUpdating dependencies (including require-dev)[0m | |
- Installing [32mmockery/mockery[0m ([33m0.9.0[0m) | |
Downloading: [33mconnection...[0m Downloading: [33m0%[0m Downloading: [33m5%[0m Downloading: [33m10%[0m Downloading: [33m15%[0m Downloading: [33m20%[0m Downloading: [33m25%[0m Downloading: [33m30%[0m Downloading: [33m35%[0m Downloading: [33m40%[0m Downloading: [33m50%[0m Downloading: [33m55%[0m Downloading: [33m60%[0m Downloading: [33m65%[0m Downloading: [33m70%[0m Downloading: [33m75%[0m Downloading: [33m80%[0m Downloading: [33m90%[0m Downloading: [33m95%[0m Downloading: [33m100%[0m | |
[32mWriting lock file[0m | |
[32mGenerating autoload files[0m | |
travis_fold:end:before_script.3 | |
travis_fold:start:before_script.4 | |
$ gem install mailcatcher | |
Fetching: multi_json-1.9.2.gem | |
Fetching: multi_json-1.9.2.gem ( 29%) | |
Fetching: multi_json-1.9.2.gem ( 58%) | |
Fetching: multi_json-1.9.2.gem ( 87%) | |
Fetching: multi_json-1.9.2.gem (100%) | |
Fetching: multi_json-1.9.2.gem (100%) | |
Successfully installed multi_json-1.9.2 | |
Fetching: i18n-0.6.9.gem | |
Fetching: i18n-0.6.9.gem ( 15%) | |
Fetching: i18n-0.6.9.gem ( 30%) | |
Fetching: i18n-0.6.9.gem ( 45%) | |
Fetching: i18n-0.6.9.gem ( 59%) | |
Fetching: i18n-0.6.9.gem ( 74%) | |
Fetching: i18n-0.6.9.gem ( 89%) | |
Fetching: i18n-0.6.9.gem (100%) | |
Fetching: i18n-0.6.9.gem (100%) | |
Successfully installed i18n-0.6.9 | |
Fetching: activesupport-3.2.17.gem | |
Fetching: activesupport-3.2.17.gem ( 3%) | |
Fetching: activesupport-3.2.17.gem ( 7%) | |
Fetching: activesupport-3.2.17.gem ( 10%) | |
Fetching: activesupport-3.2.17.gem ( 13%) | |
Fetching: activesupport-3.2.17.gem ( 16%) | |
Fetching: activesupport-3.2.17.gem ( 19%) | |
Fetching: activesupport-3.2.17.gem ( 22%) | |
Fetching: activesupport-3.2.17.gem ( 25%) | |
Fetching: activesupport-3.2.17.gem ( 28%) | |
Fetching: activesupport-3.2.17.gem ( 31%) | |
Fetching: activesupport-3.2.17.gem ( 34%) | |
Fetching: activesupport-3.2.17.gem ( 38%) | |
Fetching: activesupport-3.2.17.gem ( 41%) | |
Fetching: activesupport-3.2.17.gem ( 44%) | |
Fetching: activesupport-3.2.17.gem ( 47%) | |
Fetching: activesupport-3.2.17.gem ( 50%) | |
Fetching: activesupport-3.2.17.gem ( 53%) | |
Fetching: activesupport-3.2.17.gem ( 56%) | |
Fetching: activesupport-3.2.17.gem ( 59%) | |
Fetching: activesupport-3.2.17.gem ( 62%) | |
Fetching: activesupport-3.2.17.gem ( 65%) | |
Fetching: activesupport-3.2.17.gem ( 69%) | |
Fetching: activesupport-3.2.17.gem ( 72%) | |
Fetching: activesupport-3.2.17.gem ( 75%) | |
Fetching: activesupport-3.2.17.gem ( 78%) | |
Fetching: activesupport-3.2.17.gem ( 81%) | |
Fetching: activesupport-3.2.17.gem ( 84%) | |
Fetching: activesupport-3.2.17.gem ( 87%) | |
Fetching: activesupport-3.2.17.gem ( 90%) | |
Fetching: activesupport-3.2.17.gem ( 93%) | |
Fetching: activesupport-3.2.17.gem ( 96%) | |
Fetching: activesupport-3.2.17.gem (100%) | |
Fetching: activesupport-3.2.17.gem (100%) | |
Successfully installed activesupport-3.2.17 | |
Fetching: eventmachine-1.0.3.gem | |
Fetching: eventmachine-1.0.3.gem ( 4%) | |
Fetching: eventmachine-1.0.3.gem ( 8%) | |
Fetching: eventmachine-1.0.3.gem ( 12%) | |
Fetching: eventmachine-1.0.3.gem ( 16%) | |
Fetching: eventmachine-1.0.3.gem ( 20%) | |
Fetching: eventmachine-1.0.3.gem ( 24%) | |
Fetching: eventmachine-1.0.3.gem ( 28%) | |
Fetching: eventmachine-1.0.3.gem ( 32%) | |
Fetching: eventmachine-1.0.3.gem ( 36%) | |
Fetching: eventmachine-1.0.3.gem ( 40%) | |
Fetching: eventmachine-1.0.3.gem ( 44%) | |
Fetching: eventmachine-1.0.3.gem ( 48%) | |
Fetching: eventmachine-1.0.3.gem ( 52%) | |
Fetching: eventmachine-1.0.3.gem ( 56%) | |
Fetching: eventmachine-1.0.3.gem ( 60%) | |
Fetching: eventmachine-1.0.3.gem ( 64%) | |
Fetching: eventmachine-1.0.3.gem ( 68%) | |
Fetching: eventmachine-1.0.3.gem ( 72%) | |
Fetching: eventmachine-1.0.3.gem ( 76%) | |
Fetching: eventmachine-1.0.3.gem ( 80%) | |
Fetching: eventmachine-1.0.3.gem ( 84%) | |
Fetching: eventmachine-1.0.3.gem ( 88%) | |
Fetching: eventmachine-1.0.3.gem ( 92%) | |
Fetching: eventmachine-1.0.3.gem ( 96%) | |
Fetching: eventmachine-1.0.3.gem (100%) | |
Fetching: eventmachine-1.0.3.gem (100%) | |
Building native extensions. This could take a while... | |
Successfully installed eventmachine-1.0.3 | |
Fetching: tilt-1.4.1.gem | |
Fetching: tilt-1.4.1.gem ( 21%) | |
Fetching: tilt-1.4.1.gem ( 42%) | |
Fetching: tilt-1.4.1.gem ( 63%) | |
Fetching: tilt-1.4.1.gem ( 84%) | |
Fetching: tilt-1.4.1.gem (100%) | |
Fetching: tilt-1.4.1.gem (100%) | |
Successfully installed tilt-1.4.1 | |
Fetching: haml-4.1.0.beta.1.gem | |
Fetching: haml-4.1.0.beta.1.gem ( 8%) | |
Fetching: haml-4.1.0.beta.1.gem ( 15%) | |
Fetching: haml-4.1.0.beta.1.gem ( 23%) | |
Fetching: haml-4.1.0.beta.1.gem ( 31%) | |
Fetching: haml-4.1.0.beta.1.gem ( 38%) | |
Fetching: haml-4.1.0.beta.1.gem ( 46%) | |
Fetching: haml-4.1.0.beta.1.gem ( 53%) | |
Fetching: haml-4.1.0.beta.1.gem ( 61%) | |
Fetching: haml-4.1.0.beta.1.gem ( 69%) | |
Fetching: haml-4.1.0.beta.1.gem ( 76%) | |
Fetching: haml-4.1.0.beta.1.gem ( 84%) | |
Fetching: haml-4.1.0.beta.1.gem ( 91%) | |
Fetching: haml-4.1.0.beta.1.gem ( 99%) | |
Fetching: haml-4.1.0.beta.1.gem (100%) | |
Fetching: haml-4.1.0.beta.1.gem (100%) | |
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break | |
your application: | |
* Support for Ruby 1.8.6 dropped | |
* Support for Rails 2 dropped | |
* Sass filter now always outputs <style> tags | |
* Data attributes are now hyphenated, not underscored | |
* html2haml utility moved to the html2haml gem | |
* Textile and Maruku filters moved to the haml-contrib gem | |
For more info see: | |
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md | |
Successfully installed haml-4.1.0.beta.1 | |
Fetching: mime-types-1.25.1.gem | |
Fetching: mime-types-1.25.1.gem ( 15%) | |
Fetching: mime-types-1.25.1.gem ( 29%) | |
Fetching: mime-types-1.25.1.gem ( 44%) | |
Fetching: mime-types-1.25.1.gem ( 58%) | |
Fetching: mime-types-1.25.1.gem ( 73%) | |
Fetching: mime-types-1.25.1.gem ( 88%) | |
Fetching: mime-types-1.25.1.gem (100%) | |
Fetching: mime-types-1.25.1.gem (100%) | |
Successfully installed mime-types-1.25.1 | |
Fetching: polyglot-0.3.4.gem | |
Fetching: polyglot-0.3.4.gem (100%) | |
Fetching: polyglot-0.3.4.gem (100%) | |
Successfully installed polyglot-0.3.4 | |
Fetching: treetop-1.4.15.gem | |
Fetching: treetop-1.4.15.gem ( 11%) | |
Fetching: treetop-1.4.15.gem ( 23%) | |
Fetching: treetop-1.4.15.gem ( 34%) | |
Fetching: treetop-1.4.15.gem ( 46%) | |
Fetching: treetop-1.4.15.gem ( 57%) | |
Fetching: treetop-1.4.15.gem ( 69%) | |
Fetching: treetop-1.4.15.gem ( 80%) | |
Fetching: treetop-1.4.15.gem ( 92%) | |
Fetching: treetop-1.4.15.gem (100%) | |
Fetching: treetop-1.4.15.gem (100%) | |
Successfully installed treetop-1.4.15 | |
Fetching: mail-2.5.4.gem | |
Fetching: mail-2.5.4.gem ( 4%) | |
Fetching: mail-2.5.4.gem ( 7%) | |
Fetching: mail-2.5.4.gem ( 10%) | |
Fetching: mail-2.5.4.gem ( 14%) | |
Fetching: mail-2.5.4.gem ( 17%) | |
Fetching: mail-2.5.4.gem ( 20%) | |
Fetching: mail-2.5.4.gem ( 23%) | |
Fetching: mail-2.5.4.gem ( 27%) | |
Fetching: mail-2.5.4.gem ( 30%) | |
Fetching: mail-2.5.4.gem ( 33%) | |
Fetching: mail-2.5.4.gem ( 37%) | |
Fetching: mail-2.5.4.gem ( 40%) | |
Fetching: mail-2.5.4.gem ( 43%) | |
Fetching: mail-2.5.4.gem ( 47%) | |
Fetching: mail-2.5.4.gem ( 50%) | |
Fetching: mail-2.5.4.gem ( 53%) | |
Fetching: mail-2.5.4.gem ( 57%) | |
Fetching: mail-2.5.4.gem ( 60%) | |
Fetching: mail-2.5.4.gem ( 63%) | |
Fetching: mail-2.5.4.gem ( 66%) | |
Fetching: mail-2.5.4.gem ( 70%) | |
Fetching: mail-2.5.4.gem ( 73%) | |
Fetching: mail-2.5.4.gem ( 76%) | |
Fetching: mail-2.5.4.gem ( 80%) | |
Fetching: mail-2.5.4.gem ( 83%) | |
Fetching: mail-2.5.4.gem ( 86%) | |
Fetching: mail-2.5.4.gem ( 90%) | |
Fetching: mail-2.5.4.gem ( 93%) | |
Fetching: mail-2.5.4.gem ( 96%) | |
Fetching: mail-2.5.4.gem ( 99%) | |
Fetching: mail-2.5.4.gem (100%) | |
Fetching: mail-2.5.4.gem (100%) | |
Successfully installed mail-2.5.4 | |
Fetching: rack-1.5.2.gem | |
Fetching: rack-1.5.2.gem ( 4%) | |
Fetching: rack-1.5.2.gem ( 9%) | |
Fetching: rack-1.5.2.gem ( 13%) | |
Fetching: rack-1.5.2.gem ( 17%) | |
Fetching: rack-1.5.2.gem ( 21%) | |
Fetching: rack-1.5.2.gem ( 25%) | |
Fetching: rack-1.5.2.gem ( 29%) | |
Fetching: rack-1.5.2.gem ( 34%) | |
Fetching: rack-1.5.2.gem ( 38%) | |
Fetching: rack-1.5.2.gem ( 42%) | |
Fetching: rack-1.5.2.gem ( 46%) | |
Fetching: rack-1.5.2.gem ( 50%) | |
Fetching: rack-1.5.2.gem ( 54%) | |
Fetching: rack-1.5.2.gem ( 58%) | |
Fetching: rack-1.5.2.gem ( 63%) | |
Fetching: rack-1.5.2.gem ( 67%) | |
Fetching: rack-1.5.2.gem ( 71%) | |
Fetching: rack-1.5.2.gem ( 75%) | |
Fetching: rack-1.5.2.gem ( 79%) | |
Fetching: rack-1.5.2.gem ( 83%) | |
Fetching: rack-1.5.2.gem ( 88%) | |
Fetching: rack-1.5.2.gem ( 92%) | |
Fetching: rack-1.5.2.gem ( 96%) | |
Fetching: rack-1.5.2.gem (100%) | |
Fetching: rack-1.5.2.gem (100%) | |
Successfully installed rack-1.5.2 | |
Fetching: rack-protection-1.5.3.gem | |
Fetching: rack-protection-1.5.3.gem ( 87%) | |
Fetching: rack-protection-1.5.3.gem (100%) | |
Fetching: rack-protection-1.5.3.gem (100%) | |
Successfully installed rack-protection-1.5.3 | |
Fetching: sinatra-1.4.5.gem | |
Fetching: sinatra-1.4.5.gem ( 3%) | |
Fetching: sinatra-1.4.5.gem ( 6%) | |
Fetching: sinatra-1.4.5.gem ( 8%) | |
Fetching: sinatra-1.4.5.gem ( 11%) | |
Fetching: sinatra-1.4.5.gem ( 13%) | |
Fetching: sinatra-1.4.5.gem ( 16%) | |
Fetching: sinatra-1.4.5.gem ( 19%) | |
Fetching: sinatra-1.4.5.gem ( 21%) | |
Fetching: sinatra-1.4.5.gem ( 24%) | |
Fetching: sinatra-1.4.5.gem ( 26%) | |
Fetching: sinatra-1.4.5.gem ( 29%) | |
Fetching: sinatra-1.4.5.gem ( 32%) | |
Fetching: sinatra-1.4.5.gem ( 34%) | |
Fetching: sinatra-1.4.5.gem ( 37%) | |
Fetching: sinatra-1.4.5.gem ( 39%) | |
Fetching: sinatra-1.4.5.gem ( 42%) | |
Fetching: sinatra-1.4.5.gem ( 45%) | |
Fetching: sinatra-1.4.5.gem ( 47%) | |
Fetching: sinatra-1.4.5.gem ( 50%) | |
Fetching: sinatra-1.4.5.gem ( 52%) | |
Fetching: sinatra-1.4.5.gem ( 55%) | |
Fetching: sinatra-1.4.5.gem ( 58%) | |
Fetching: sinatra-1.4.5.gem ( 60%) | |
Fetching: sinatra-1.4.5.gem ( 63%) | |
Fetching: sinatra-1.4.5.gem ( 65%) | |
Fetching: sinatra-1.4.5.gem ( 68%) | |
Fetching: sinatra-1.4.5.gem ( 70%) | |
Fetching: sinatra-1.4.5.gem ( 73%) | |
Fetching: sinatra-1.4.5.gem ( 76%) | |
Fetching: sinatra-1.4.5.gem ( 78%) | |
Fetching: sinatra-1.4.5.gem ( 81%) | |
Fetching: sinatra-1.4.5.gem ( 83%) | |
Fetching: sinatra-1.4.5.gem ( 86%) | |
Fetching: sinatra-1.4.5.gem ( 89%) | |
Fetching: sinatra-1.4.5.gem ( 91%) | |
Fetching: sinatra-1.4.5.gem ( 94%) | |
Fetching: sinatra-1.4.5.gem ( 96%) | |
Fetching: sinatra-1.4.5.gem ( 99%) | |
Fetching: sinatra-1.4.5.gem (100%) | |
Fetching: sinatra-1.4.5.gem (100%) | |
Successfully installed sinatra-1.4.5 | |
Fetching: sqlite3-1.3.9.gem | |
Fetching: sqlite3-1.3.9.gem ( 15%) | |
Fetching: sqlite3-1.3.9.gem ( 29%) | |
Fetching: sqlite3-1.3.9.gem ( 44%) | |
Fetching: sqlite3-1.3.9.gem ( 59%) | |
Fetching: sqlite3-1.3.9.gem ( 74%) | |
Fetching: sqlite3-1.3.9.gem ( 88%) | |
Fetching: sqlite3-1.3.9.gem (100%) | |
Fetching: sqlite3-1.3.9.gem (100%) | |
Building native extensions. This could take a while... | |
Successfully installed sqlite3-1.3.9 | |
Fetching: daemons-1.1.9.gem | |
Fetching: daemons-1.1.9.gem ( 27%) | |
Fetching: daemons-1.1.9.gem ( 54%) | |
Fetching: daemons-1.1.9.gem ( 82%) | |
Fetching: daemons-1.1.9.gem (100%) | |
Fetching: daemons-1.1.9.gem (100%) | |
Successfully installed daemons-1.1.9 | |
Fetching: thin-1.5.1.gem | |
Fetching: thin-1.5.1.gem ( 16%) | |
Fetching: thin-1.5.1.gem ( 32%) | |
Fetching: thin-1.5.1.gem ( 49%) | |
Fetching: thin-1.5.1.gem ( 65%) | |
Fetching: thin-1.5.1.gem ( 81%) | |
Fetching: thin-1.5.1.gem ( 97%) | |
Fetching: thin-1.5.1.gem (100%) | |
Fetching: thin-1.5.1.gem (100%) | |
Building native extensions. This could take a while... | |
Successfully installed thin-1.5.1 | |
Fetching: skinny-0.2.3.gem | |
Fetching: skinny-0.2.3.gem (100%) | |
Fetching: skinny-0.2.3.gem (100%) | |
Successfully installed skinny-0.2.3 | |
Fetching: mailcatcher-0.5.12.gem | |
Fetching: mailcatcher-0.5.12.gem ( 7%) | |
Fetching: mailcatcher-0.5.12.gem ( 15%) | |
Fetching: mailcatcher-0.5.12.gem ( 22%) | |
Fetching: mailcatcher-0.5.12.gem ( 29%) | |
Fetching: mailcatcher-0.5.12.gem ( 37%) | |
Fetching: mailcatcher-0.5.12.gem ( 44%) | |
Fetching: mailcatcher-0.5.12.gem ( 51%) | |
Fetching: mailcatcher-0.5.12.gem ( 58%) | |
Fetching: mailcatcher-0.5.12.gem ( 66%) | |
Fetching: mailcatcher-0.5.12.gem ( 73%) | |
Fetching: mailcatcher-0.5.12.gem ( 80%) | |
Fetching: mailcatcher-0.5.12.gem ( 87%) | |
Fetching: mailcatcher-0.5.12.gem ( 95%) | |
Fetching: mailcatcher-0.5.12.gem (100%) | |
Fetching: mailcatcher-0.5.12.gem (100%) | |
Successfully installed mailcatcher-0.5.12 | |
18 gems installed | |
travis_fold:end:before_script.4 | |
travis_fold:start:before_script.5 | |
$ mailcatcher --smtp-port 4456 | |
Starting MailCatcher | |
==> smtp://127.0.0.1:4456 | |
==> http://127.0.0.1:1080 | |
*** MailCatcher runs as a daemon by default. Go to the web interface to quit. | |
travis_fold:end:before_script.5 | |
$ php test-suite/run.php | |
Swift Mailer 4 Test Suite - All Tests | |
>> Swift_ByteStream_FileByteStreamAcceptanceTest [32mOK[0m | |
[34m[1m[4mSkip[0m: Skipping [Swift_Signers_OpenDKIMSignerTest] at | |
[/home/travis/build/realityking/swiftmailer/tests/unit/Swift/Signers/OpenDKIMSignerTest.php | |
line 11] | |
in: Swift_Signers_OpenDKIMSignerTest | |
>> Swift_Signers_OpenDKIMSignerTest [32mOK[0m | |
[31m[1mException1[0m! | |
[1mInvalid XML response: [0m | |
in Swift_Transport_EsmtpTransportTest | |
>> Swift_Transport_EsmtpTransport_ExtensionSupportTest [32mOK[0m | |
********************** | |
1 test case(s) did not complete. | |
This may be because invalid XML was output during the test run | |
and/or because an error occured. | |
Try running the tests separately for more detail. | |
********************** | |
[31m[1mFAILURES!!![0m | |
Test cases run: 3/4, Passes: 3, Failures: 0, Exceptions: 1 | |
[31;1mThe command "php test-suite/run.php" exited with 1.[0m | |
$ phpunit | |
PHPUnit 3.7.31 by Sebastian Bergmann. | |
Configuration read from /home/travis/build/realityking/swiftmailer/phpunit.xml.dist | |
............................................................. 61 / 1111 ( 5%) | |
............................................................. 122 / 1111 ( 10%) | |
............................................................. 183 / 1111 ( 16%) | |
............................................................. 244 / 1111 ( 21%) | |
............................................................. 305 / 1111 ( 27%) | |
............................................................. 366 / 1111 ( 32%) | |
............................................................. 427 / 1111 ( 38%) | |
............................................................. 488 / 1111 ( 43%) | |
............................................................. 549 / 1111 ( 49%) | |
............................................................. 610 / 1111 ( 54%) | |
............................................................. 671 / 1111 ( 60%) | |
................................................[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m. 732 / 1111 ( 65%) | |
............................................................. 793 / 1111 ( 71%) | |
......................................PHP Fatal error: Call to undefined method ReflectionMethod::getHandledKeyword() in /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php on line 445 | |
PHP Stack trace: | |
PHP 1. {main}() /home/travis/.phpenv/versions/5.3.27/bin/phpunit:0 | |
PHP 2. PHPUnit_TextUI_Command::main() /home/travis/.phpenv/versions/5.3.27/bin/phpunit:46 | |
PHP 3. PHPUnit_TextUI_Command->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/TextUI/Command.php:129 | |
PHP 4. PHPUnit_TextUI_TestRunner->doRun() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/TextUI/Command.php:176 | |
PHP 5. PHPUnit_Framework_TestSuite->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/TextUI/TestRunner.php:349 | |
PHP 6. PHPUnit_Framework_TestSuite->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestSuite.php:705 | |
PHP 7. PHPUnit_Framework_TestSuite->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestSuite.php:705 | |
PHP 8. PHPUnit_Framework_TestSuite->runTest() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestSuite.php:745 | |
PHP 9. PHPUnit_Framework_TestCase->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestSuite.php:775 | |
PHP 10. PHPUnit_Framework_TestResult->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestCase.php:783 | |
PHP 11. PHPUnit_Framework_TestCase->runBare() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestResult.php:648 | |
PHP 12. PHPUnit_Framework_TestCase->runTest() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestCase.php:838 | |
PHP 13. ReflectionMethod->invokeArgs() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestCase.php:983 | |
PHP 14. Swift_Transport_AbstractSmtpTest->testInvalidResponseCodeFromMailCausesException() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestCase.php:983 | |
PHP 15. Swift_Transport_AbstractSmtpTest->_finishBuffer() /home/travis/build/realityking/swiftmailer/phpunit/unit/Swift/Transport/AbstractSmtpTest.php:275 | |
PHP 16. Mockery_23_Swift_Transport_IoBuffer->shouldReceive() /home/travis/build/realityking/swiftmailer/phpunit/unit/Swift/Transport/AbstractSmtpTest.php:1214 | |
PHP 17. Mockery::parseShouldReturnArgs() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(16) : eval()'d code:205 | |
PHP 18. Mockery::_buildDemeterChain() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:497 | |
PHP 19. {closure:/home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:528-528}() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:536 | |
PHP 20. {closure:/home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(16) : eval()'d code:185-204}() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:528 | |
PHP 21. Swift_Transport_AbstractSmtpTransport->__destruct() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:201 | |
PHP 22. Swift_Transport_AbstractSmtpTransport->stop() /home/travis/build/realityking/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:505 | |
PHP 23. Swift_Transport_EsmtpTransport->executeCommand() /home/travis/build/realityking/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:217 | |
PHP 24. Mockery_25_Swift_Transport_EsmtpHandler->onCommand() /home/travis/build/realityking/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php:239 | |
PHP 25. Mockery_25_Swift_Transport_EsmtpHandler->__call() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(16) : eval()'d code:700 | |
PHP 26. Mockery\ExpectationDirector->call() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(16) : eval()'d code:321 | |
PHP 27. Mockery::formatObjects() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:100 | |
PHP 28. Mockery::_objectToArray() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:406 | |
PHP 29. Mockery::_cleanupNesting() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:445 | |
PHP 30. Mockery::_cleanupArray() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:460 | |
PHP 31. Mockery::_objectToArray() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:473 | |
Fatal error: Call to undefined method ReflectionMethod::getHandledKeyword() in /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php on line 445 | |
Call Stack: | |
0.0003 636632 1. {main}() /home/travis/.phpenv/versions/5.3.27/bin/phpunit:0 | |
0.0053 1112072 2. PHPUnit_TextUI_Command::main() /home/travis/.phpenv/versions/5.3.27/bin/phpunit:46 | |
0.0053 1112800 3. PHPUnit_TextUI_Command->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/TextUI/Command.php:129 | |
1.2061 34500312 4. PHPUnit_TextUI_TestRunner->doRun() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/TextUI/Command.php:176 | |
1.2110 35051928 5. PHPUnit_Framework_TestSuite->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/TextUI/TestRunner.php:349 | |
1.2167 35052688 6. PHPUnit_Framework_TestSuite->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestSuite.php:705 | |
20.6168 54810272 7. PHPUnit_Framework_TestSuite->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestSuite.php:705 | |
21.6284 60812424 8. PHPUnit_Framework_TestSuite->runTest() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestSuite.php:745 | |
21.6284 60812424 9. PHPUnit_Framework_TestCase->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestSuite.php:775 | |
21.6285 60812424 10. PHPUnit_Framework_TestResult->run() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestCase.php:783 | |
21.6286 60813448 11. PHPUnit_Framework_TestCase->runBare() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestResult.php:648 | |
21.6288 60854704 12. PHPUnit_Framework_TestCase->runTest() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestCase.php:838 | |
21.6288 60856368 13. ReflectionMethod->invokeArgs() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestCase.php:983 | |
21.6288 60856400 14. Swift_Transport_AbstractSmtpTest->testInvalidResponseCodeFromMailCausesException() /home/travis/.phpenv/versions/5.3.27/share/pyrus/.pear/php/PHPUnit/Framework/TestCase.php:983 | |
21.6350 60906224 15. Swift_Transport_AbstractSmtpTest->_finishBuffer() /home/travis/build/realityking/swiftmailer/phpunit/unit/Swift/Transport/AbstractSmtpTest.php:275 | |
21.6390 60925544 16. Mockery_23_Swift_Transport_IoBuffer->shouldReceive() /home/travis/build/realityking/swiftmailer/phpunit/unit/Swift/Transport/AbstractSmtpTest.php:1214 | |
21.6394 60927552 17. Mockery::parseShouldReturnArgs() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(16) : eval()'d code:205 | |
21.6394 60928224 18. Mockery::_buildDemeterChain() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:497 | |
21.6395 60930224 19. {closure:/home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:528-528}() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:536 | |
21.6395 60930224 20. {closure:/home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(16) : eval()'d code:185-204}() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:528 | |
21.6774 60933496 21. Swift_Transport_AbstractSmtpTransport->__destruct() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:201 | |
21.6774 60933496 22. Swift_Transport_AbstractSmtpTransport->stop() /home/travis/build/realityking/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:505 | |
21.6775 60934048 23. Swift_Transport_EsmtpTransport->executeCommand() /home/travis/build/realityking/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:217 | |
21.6775 60934760 24. Mockery_25_Swift_Transport_EsmtpHandler->onCommand() /home/travis/build/realityking/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php:239 | |
21.6776 60935984 25. Mockery_25_Swift_Transport_EsmtpHandler->__call() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(16) : eval()'d code:700 | |
21.6777 60935984 26. Mockery\ExpectationDirector->call() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(16) : eval()'d code:321 | |
21.6781 60983712 27. Mockery::formatObjects() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:100 | |
21.6781 60984824 28. Mockery::_objectToArray() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:406 | |
21.6797 61065704 29. Mockery::_cleanupNesting() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:445 | |
21.6797 61065752 30. Mockery::_cleanupArray() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:460 | |
21.6798 61066352 31. Mockery::_objectToArray() /home/travis/build/realityking/swiftmailer/vendor/mockery/mockery/library/Mockery.php:473 | |
[31;1mThe command "phpunit" exited with 255.[0m | |
Done. Your build exited with 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment