File tree Expand file tree Collapse file tree 3 files changed +27
-12
lines changed
tests/DependencyInjection Expand file tree Collapse file tree 3 files changed +27
-12
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
+ sudo : false
4
+
5
+ cache :
6
+ directories :
7
+ - $HOME/.composer/cache/files
8
+
3
9
php :
4
10
- 5.3
11
+ - 5.4
12
+ # 5.5 and 5.6 are already covered by the jobs running against specific Symfony versions. no need to duplicate them here
13
+ - 7.0
14
+ - hhvm
15
+
16
+ matrix :
17
+ include :
18
+ # force testing against Symfony LTS versions
19
+ - php : 5.5
20
+ env : SYMFONY_VERSION=2.3.*
21
+ - php : 5.6
22
+ env : SYMFONY_VERSION=2.7.*
23
+ # Test against lowest dependencies
24
+ - php : 5.6
25
+ env : COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
5
26
6
- env :
7
- - SYMFONY_VERSION=2.3.*
8
- - SYMFONY_VERSION=2.4.*
9
- - SYMFONY_VERSION=2.5.*
27
+ before_install :
28
+ - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi
10
29
11
- before_script :
12
- - composer self-update
13
- - composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update
14
- - composer install --dev --prefer-source
30
+ install :
31
+ - composer update $COMPOSER_FLAGS
15
32
16
33
script : phpunit --coverage-text
Original file line number Diff line number Diff line change 22
22
"symfony/framework-bundle" : " ~2.3"
23
23
},
24
24
"require-dev" : {
25
- "phpunit/phpunit" : " ~3.7"
25
+ "symfony/phpunit-bridge" : " ~2.7" ,
26
+ "phpunit/phpunit" : " ~4.5"
26
27
},
27
28
"autoload" : {
28
29
"psr-4" : {
Original file line number Diff line number Diff line change 6
6
use Symfony \Component \Config \FileLocator ;
7
7
use Symfony \Component \DependencyInjection \ContainerBuilder ;
8
8
use Symfony \Component \DependencyInjection \Loader \YamlFileLoader ;
9
- use Symfony \Component \DependencyInjection \ParameterBag \ParameterBag ;
10
9
11
10
class KeenIOExtensionTest extends \PHPUnit_Framework_TestCase
12
11
{
13
12
/**
14
- * QPush Extension
15
- *
16
13
* @var KeenIOExtension
17
14
*/
18
15
private $ extension ;
You can’t perform that action at this time.
0 commit comments