File tree 6 files changed +37
-1
lines changed
6 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ vendor
Original file line number Diff line number Diff line change
1
+ language : php
2
+ php :
3
+ - 5.3
4
+ - 5.4
5
+ - 5.5
6
+ before_script :
7
+ - composer self-update
8
+ - composer install --dev --prefer-source
9
+ script : ./vendor/bin/phpunit -c lib/ --coverage-text
10
+ notifications :
11
+ email :
12
+
Original file line number Diff line number Diff line change 21
21
"require" : {
22
22
"php" : " >=5.3.3"
23
23
},
24
+ "require-dev" : {
25
+ "phpunit/phpunit" : " 4.2.*@dev"
26
+ },
24
27
"autoload" : {
25
28
"psr-0" : {
26
29
"SmtpValidatorEmail" : " lib/"
Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ public function send($cmd)
402
402
// did the send work?
403
403
if ($ result === false ) {
404
404
throw new ExceptionSendFailed ('Send failed ' .
405
- 'on: ' . $ this ->host );
405
+ 'on: ' . $ this ->host );
406
406
}
407
407
408
408
return $ result ;
Original file line number Diff line number Diff line change
1
+ <?php
2
+ require_once dirname (__FILE__ ).'/../../../vendor/autoload.php ' ;
Original file line number Diff line number Diff line change
1
+ <phpunit bootstrap =" ./SmtpValidatorEmail/Tests/bootstrap.php" colors =" true" >
2
+
3
+ <testsuites >
4
+ <testsuite name =" SmtpValidatorEmail test suite" >
5
+ <directory suffix =" Test.php" >./SmtpValidatorEmail</directory >
6
+ </testsuite >
7
+ </testsuites >
8
+
9
+ <filter >
10
+ <whitelist >
11
+ <directory >./</directory >
12
+ <exclude >
13
+ <directory >../vendor/</directory >
14
+ <directory >./SmtpValidatorEmail/Tests</directory >
15
+ </exclude >
16
+ </whitelist >
17
+ </filter >
18
+ </phpunit >
You can’t perform that action at this time.
0 commit comments