File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed
Filter options
Tests/Functional/Fixtures/app Expand file tree Collapse file tree 3 files changed +22
-9
lines changed
Original file line number Diff line number Diff line change @@ -53,15 +53,21 @@ matrix:
53
53
- FRAMEWORK_EXTRA_VERSION='~3.0'
54
54
- php : 5.6
55
55
env :
56
- - SYMFONY_VERSION='2.8.*@dev'
56
+ - SYMFONY_VERSION='2.8.*'
57
+ - FRAMEWORK_EXTRA_VERSION='~3.0'
58
+ - php : 5.6
59
+ env :
60
+ - SYMFONY_VERSION='3.0.*'
57
61
- FRAMEWORK_EXTRA_VERSION='~3.0'
58
62
59
63
install :
60
64
- pip install -qr Resources/doc/requirements.txt --user
61
65
62
- before_script :
66
+ before_install :
63
67
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
64
68
- sh -c 'if [ "$FRAMEWORK_EXTRA_VERSION" != "" ]; then composer require --dev --no-update sensio/framework-extra-bundle=$FRAMEWORK_EXTRA_VERSION; fi;'
69
+
70
+ before_script :
65
71
- composer update $COMPOSER_FLAGS
66
72
67
73
script :
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
use Symfony \Component \Config \Loader \LoaderInterface ;
4
+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
4
5
use Symfony \Component \HttpKernel \Kernel ;
5
6
6
7
class AppKernel extends Kernel
@@ -26,6 +27,12 @@ public function registerBundles()
26
27
public function registerContainerConfiguration (LoaderInterface $ loader )
27
28
{
28
29
$ loader ->load (__DIR__ .'/config/config.yml ' );
30
+
31
+ if (class_exists ('Symfony\Component\Asset\Package ' )) {
32
+ $ loader ->load (function (ContainerBuilder $ container ) {
33
+ $ container ->loadFromExtension ('framework ' , array ('assets ' => array ()));
34
+ });
35
+ }
29
36
}
30
37
31
38
/**
Original file line number Diff line number Diff line change 23
23
"require" : {
24
24
"php" : " >=5.3.3" ,
25
25
"friendsofsymfony/http-cache" : " ~1.4" ,
26
- "symfony/framework-bundle" : " ~ 2.3"
26
+ "symfony/framework-bundle" : " ^ 2.3||^3.0 "
27
27
},
28
28
"require-dev" : {
29
29
"mockery/mockery" : " 0.9.*" ,
30
30
"monolog/monolog" : " *" ,
31
- "sensio/framework-extra-bundle" : " ~ 2.3" ,
32
- "symfony/symfony" : " ~ 2.3" ,
33
- "symfony/phpunit-bridge" : " ~ 2.7" ,
34
- "symfony/expression-language" : " ~ 2.4" ,
35
- "symfony/monolog-bundle" : " ~ 2.3" ,
36
- "polishsymfonycommunity/symfony-mocker-container" : " ~ 1.0" ,
31
+ "sensio/framework-extra-bundle" : " ^ 2.3||^3.0 " ,
32
+ "symfony/symfony" : " ^ 2.3||^3.0 " ,
33
+ "symfony/phpunit-bridge" : " ^ 2.7||^3.0 " ,
34
+ "symfony/expression-language" : " ^ 2.4||^3.0 " ,
35
+ "symfony/monolog-bundle" : " ^ 2.3||^3.0 " ,
36
+ "polishsymfonycommunity/symfony-mocker-container" : " ^ 1.0" ,
37
37
"matthiasnoback/symfony-dependency-injection-test" : " ^0.7.4"
38
38
},
39
39
"suggest" : {
You can’t perform that action at this time.
0 commit comments