This repository was archived by the owner on Feb 22, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed
tests/DependencyInjection Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ matrix:
1414 env : DEPENDENCIES='low'
1515 - php : 5.6
1616 env : DEPENDENCIES='dev'
17+ - php : 5.6
18+ env : SYMFONY_VERSION=3.0.*
1719 allow_failures :
18- - php : 7.0
1920 - env : DEPENDENCIES='dev'
2021 fast_finish : true
2122
@@ -25,7 +26,13 @@ cache:
2526 directories :
2627 - $HOME/.composer/cache/files
2728
29+ before_install :
30+ - composer selfupdate
31+ - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
32+
2833install :
34+ - export SYMFONY_DEPRECATIONS_HELPER=strong
35+ - export COMPOSER_ROOT_VERSION=dev-master
2936 - if [ "$DEPENDENCIES" == "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
3037 - if [ "$DEPENDENCIES" != "low" ]; then travis_retry composer update; fi;
3138 - if [ "$DEPENDENCIES" == "low" ]; then travis_retry composer update --prefer-lowest; fi;
Original file line number Diff line number Diff line change 1010 ],
1111 "require" : {
1212 "php" : " >=5.3" ,
13- "symfony/framework-bundle" : " ~2.3" ,
14- "symfony/expression-language" : " ~2.4" ,
13+ "symfony/framework-bundle" : " ~2.3|~3.0" ,
14+ "symfony/dependency-injection" : " ~2.4|~3.0" ,
15+ "symfony/expression-language" : " ~2.4|~3.0" ,
1516 "knplabs/knp-menu-bundle" : " ^2.0.0"
1617 },
1718 "require-dev" : {
18- "matthiasnoback/symfony-config-test" : " ~ 1.1.0" ,
19- "matthiasnoback/symfony-dependency-injection-test" : " ~ 0.7.4 " ,
19+ "matthiasnoback/symfony-config-test" : " ^ 1.1.0" ,
20+ "matthiasnoback/symfony-dependency-injection-test" : " ^ 0.7.6 " ,
2021 "symfony/phpunit-bridge" : " ~2.7"
2122 },
2223 "autoload" : {
3132 },
3233 "extra" : {
3334 "branch-alias" : {
34- "dev-master" : " 1.2 -dev"
35+ "dev-master" : " 1.3 -dev"
3536 }
3637 }
3738}
Original file line number Diff line number Diff line change @@ -102,10 +102,6 @@ public function testBreadcrumbParentsAreResolved()
102102
103103 public function testBreadcrumbsAreRegisteredWithExpression ()
104104 {
105- if (!class_exists ('Symfony\Component\DependencyInjection\ExpressionLanguage ' )) {
106- $ this ->markTestSkipped ('Requires at least version 2.4 of the DependencyInjection component. ' );
107- }
108-
109105 $ this ->load (array (
110106 'breadcrumbs ' => array (
111107 'webhosting ' => array (
You can’t perform that action at this time.
0 commit comments