File tree Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : php
2
+
3
+ php :
4
+ - 5.3
5
+ - 5.4
6
+ - 5.5
7
+
8
+ env :
9
+ - SYMFONY_VERSION=2.1.*
10
+ - SYMFONY_VERSION=2.2.*
11
+ - SYMFONY_VERSION=2.3.*
12
+ - SYMFONY_VERSION=dev-master
13
+
14
+ before_script :
15
+ - composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update
16
+ - composer update --dev
17
+
18
+ script : phpunit --coverage-text
Original file line number Diff line number Diff line change 10
10
11
11
namespace Codag \PredictionIOBundle \Tests ;
12
12
13
+ use RuntimeException ;
14
+
13
15
$ file = __DIR__ .'/../vendor/autoload.php ' ;
14
16
if (!file_exists ($ file )) {
15
17
throw new RuntimeException ('Install dependencies to run test suite. ' );
Original file line number Diff line number Diff line change 5
5
"keywords" : [" predictionio" , " api" ],
6
6
"homepage" : " http://prediction.io" ,
7
7
"license" : " Apache-2.0" ,
8
+ "minimum-stability" : " dev" ,
8
9
"authors" : [
9
10
{
10
11
"name" : " Codag" ,
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <phpunit bootstrap =" ./Tests/bootstrap.php" color =" true" >
4
+
5
+ <testsuites >
6
+ <testsuite name =" PredicionIOBundle Test Suite" bootstrap =" ./Tests/bootstrap.php" >
7
+ <directory suffix =" Test.php" >./Tests</directory >
8
+ </testsuite >
9
+ </testsuites >
10
+
11
+ <filter >
12
+ <whitelist >
13
+ <directory >./</directory >
14
+ <exclude >
15
+ <directory >./Resources</directory >
16
+ <directory >./Tests</directory >
17
+ </exclude >
18
+ </whitelist >
19
+ </filter >
20
+ </phpunit >
You can’t perform that action at this time.
0 commit comments