minor #12542 Test components using their lowest possible deps (nicolas-grekas)
This PR was squashed before being merged into the 2.3 branch (closes #12542).
Discussion
----------
Test components using their lowest possible deps
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Once https://github.com/composer/composer/pull/3450 is merged, we'll see if our deps are correct, and ensure that is kept over time by testing each component with its lowest possible deps.
Commits
-------
25fef27
Test components using their lowest possible deps
This commit is contained in:
commit
206ebc7844
@ -13,7 +13,9 @@ matrix:
|
||||
- php: hhvm-nightly
|
||||
include:
|
||||
- php: 5.5
|
||||
env: components=yes
|
||||
env: components=high
|
||||
- php: 5.3.3
|
||||
env: components=low
|
||||
|
||||
services: mongodb
|
||||
|
||||
@ -23,6 +25,7 @@ env:
|
||||
|
||||
before_install:
|
||||
- travis_retry sudo apt-get install parallel
|
||||
- composer self-update
|
||||
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then echo "" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini; fi;'
|
||||
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
||||
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ] && [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
||||
@ -37,4 +40,5 @@ install:
|
||||
script:
|
||||
- sh -c 'if [ "$components" = "no" ]; then sh -c "ls -d src/Symfony/*/* | parallel --gnu --keep-order '\''echo \"Running {} tests\"; phpunit --exclude-group tty,benchmark,intl-data {};'\''"; fi;'
|
||||
- sh -c 'if [ "$components" = "no" ]; then sh -c "echo "\""Running tests requiring tty"\""; phpunit --group tty"; fi;'
|
||||
- sh -c 'if [ "$components" = "yes" ]; then sh -c "find src/Symfony -mindepth 3 -type f -name '\''phpunit.xml.dist'\'' | sed '\''s#\(.*\)/.*#\1#'\'' | parallel --gnu --keep-order '\''echo \"Running {} tests\"; cd {}; COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install; phpunit --exclude-group tty,benchmark,intl-data;'\''"; fi;'
|
||||
- sh -c 'if [ "$components" = "high" ]; then sh -c "find src/Symfony -mindepth 3 -type f -name '\''phpunit.xml.dist'\'' | sed '\''s#\(.*\)/.*#\1#'\'' | parallel --gnu --keep-order '\''echo \"Running {} tests\"; cd {}; COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install; phpunit --exclude-group tty,benchmark,intl-data;'\''"; fi;'
|
||||
- sh -c 'if [ "$components" = "low" ]; then sh -c "find src/Symfony -mindepth 3 -type f -name '\''phpunit.xml.dist'\'' | sed '\''s#\(.*\)/.*#\1#'\'' | parallel --gnu --keep-order '\''echo \"Running {} tests\"; cd {}; COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev --prefer-lowest --prefer-stable update; phpunit --exclude-group tty,benchmark,intl-data;'\''"; fi;'
|
||||
|
@ -17,15 +17,17 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"doctrine/common": "~2.2"
|
||||
"doctrine/common": "~2.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/stopwatch": "~2.2",
|
||||
"symfony/dependency-injection": "~2.0",
|
||||
"symfony/form": "~2.2",
|
||||
"symfony/dependency-injection": "~2.0,>=2.0.5",
|
||||
"symfony/form": "~2.3,>=2.3.8",
|
||||
"symfony/http-kernel": "~2.2",
|
||||
"symfony/property-access": "~2.3",
|
||||
"symfony/security": "~2.2",
|
||||
"symfony/validator": "~2.3.0",
|
||||
"symfony/validator": "~2.3.0,>=2.3.20",
|
||||
"symfony/translation": "~2.0,>=2.0.5",
|
||||
"doctrine/data-fixtures": "1.0.*",
|
||||
"doctrine/dbal": "~2.2",
|
||||
"doctrine/orm": "~2.2,>=2.2.3"
|
||||
|
@ -17,10 +17,11 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"symfony/http-foundation": "~2.0",
|
||||
"symfony/http-kernel": "~2.0",
|
||||
"symfony/form": "~2.2",
|
||||
"propel/propel1": "~1.6"
|
||||
"symfony/http-foundation": "~2.0,>=2.0.5",
|
||||
"symfony/http-kernel": "~2.0,>=2.0.5",
|
||||
"symfony/form": "~2.3,>=2.3.8",
|
||||
"symfony/property-access": "~2.3",
|
||||
"propel/propel1": "~1.6,>=1.6.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/stopwatch": "~2.2"
|
||||
|
@ -17,17 +17,18 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"twig/twig": "~1.12"
|
||||
"twig/twig": "~1.12,>=1.12.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/finder": "~2.3",
|
||||
"symfony/form": "~2.2",
|
||||
"symfony/http-kernel": "~2.2",
|
||||
"symfony/form": "~2.3,>=2.3.5",
|
||||
"symfony/http-kernel": "~2.3",
|
||||
"symfony/locale": "~2.0,>=2.0.5",
|
||||
"symfony/routing": "~2.2",
|
||||
"symfony/templating": "~2.1",
|
||||
"symfony/translation": "~2.2",
|
||||
"symfony/yaml": "~2.0",
|
||||
"symfony/security": "~2.0"
|
||||
"symfony/yaml": "~2.0,>=2.0.5",
|
||||
"symfony/security": "~2.0,>=2.0.5"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/finder": "",
|
||||
|
@ -17,27 +17,31 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"symfony/dependency-injection": "~2.2",
|
||||
"symfony/config": "~2.2",
|
||||
"symfony/dependency-injection" : "~2.3",
|
||||
"symfony/config" : "~2.3,>=2.3.12",
|
||||
"symfony/event-dispatcher": "~2.1",
|
||||
"symfony/http-kernel": "~2.3",
|
||||
"symfony/http-foundation": "~2.3,>=2.3.19",
|
||||
"symfony/http-kernel": "~2.3,>=2.3.22",
|
||||
"symfony/filesystem": "~2.3",
|
||||
"symfony/routing": "~2.2",
|
||||
"symfony/stopwatch": "~2.3",
|
||||
"symfony/templating": "~2.1",
|
||||
"symfony/translation": "~2.3",
|
||||
"symfony/translation": "~2.3,>=2.3.19",
|
||||
"doctrine/common": "~2.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/browser-kit": "~2.3",
|
||||
"symfony/console": "~2.0",
|
||||
"symfony/finder": "~2.0",
|
||||
"symfony/console": "~2.3",
|
||||
"symfony/css-selector": "~2.0,>=2.0.5",
|
||||
"symfony/dom-crawler": "~2.0,>=2.0.5",
|
||||
"symfony/finder": "~2.0,>=2.0.5",
|
||||
"symfony/locale": "~2.0,>=2.0.5",
|
||||
"symfony/security": "~2.3",
|
||||
"symfony/form": "~2.3.0",
|
||||
"symfony/form": "~2.3.0,>=2.3.5",
|
||||
"symfony/class-loader": "~2.1",
|
||||
"symfony/process": "~2.0",
|
||||
"symfony/process": "~2.0,>=2.0.5",
|
||||
"symfony/validator": "~2.1",
|
||||
"symfony/yaml": "~2.0"
|
||||
"symfony/yaml": "~2.0,>=2.0.5"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/console": "",
|
||||
|
@ -22,13 +22,19 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/browser-kit": "~2.3",
|
||||
"symfony/css-selector": "~2.0,>=2.0.5",
|
||||
"symfony/dependency-injection": "~2.3",
|
||||
"symfony/dom-crawler": "~2.0,>=2.0.5",
|
||||
"symfony/form": "~2.3",
|
||||
"symfony/framework-bundle": "~2.2,<2.6.0",
|
||||
"symfony/http-foundation": "~2.3",
|
||||
"symfony/twig-bundle": "~2.2",
|
||||
"symfony/form": "~2.1",
|
||||
"symfony/process": "~2.0",
|
||||
"symfony/twig-bridge": "~2.2,>=2.2.6",
|
||||
"symfony/form": "~2.3",
|
||||
"symfony/process": "~2.0,>=2.0.5",
|
||||
"symfony/validator": "~2.2",
|
||||
"symfony/yaml": "~2.0"
|
||||
"symfony/yaml": "~2.0,>=2.0.5",
|
||||
"twig/twig": "~1.12"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": { "Symfony\\Bundle\\SecurityBundle\\": "" }
|
||||
|
@ -22,7 +22,7 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/stopwatch": "~2.2",
|
||||
"symfony/dependency-injection": "~2.0",
|
||||
"symfony/dependency-injection": "~2.2",
|
||||
"symfony/config": "~2.2",
|
||||
"symfony/framework-bundle": "~2.1"
|
||||
},
|
||||
|
@ -24,7 +24,7 @@
|
||||
"require-dev": {
|
||||
"symfony/config": "~2.2",
|
||||
"symfony/console": "~2.3",
|
||||
"symfony/dependency-injection": "~2.0",
|
||||
"symfony/dependency-injection": "~2.2",
|
||||
"symfony/stopwatch": "~2.2"
|
||||
},
|
||||
"autoload": {
|
||||
|
@ -17,11 +17,11 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"symfony/dom-crawler": "~2.0"
|
||||
"symfony/dom-crawler": "~2.0,>=2.0.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/process": "~2.0",
|
||||
"symfony/css-selector": "~2.0"
|
||||
"symfony/process": "~2.0,>=2.0.5",
|
||||
"symfony/css-selector": "~2.0,>=2.0.5"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/process": ""
|
||||
|
@ -20,7 +20,7 @@
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/finder": "~2.0"
|
||||
"symfony/finder": "~2.0,>=2.0.5"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": { "Symfony\\Component\\ClassLoader\\": "" }
|
||||
|
@ -19,7 +19,7 @@
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/http-kernel": "~2.1",
|
||||
"symfony/http-kernel": "~2.2",
|
||||
"symfony/http-foundation": "~2.1"
|
||||
},
|
||||
"suggest": {
|
||||
|
@ -19,7 +19,7 @@
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/yaml": "~2.0",
|
||||
"symfony/yaml": "~2.1",
|
||||
"symfony/config": "~2.2"
|
||||
},
|
||||
"suggest": {
|
||||
|
@ -19,7 +19,7 @@
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/css-selector": "~2.0"
|
||||
"symfony/css-selector": "~2.0,>=2.0.5"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/css-selector": ""
|
||||
|
@ -19,7 +19,7 @@
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/dependency-injection": "~2.0"
|
||||
"symfony/dependency-injection": "~2.0,>=2.0.5"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/dependency-injection": "",
|
||||
|
@ -24,7 +24,8 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/collections": "~1.0",
|
||||
"symfony/validator": "~2.3.0",
|
||||
"symfony/validator": "~2.3.0,>=2.3.20",
|
||||
"symfony/translation": "~2.0,>=2.0.5",
|
||||
"symfony/http-foundation": "~2.2"
|
||||
},
|
||||
"suggest": {
|
||||
|
@ -18,20 +18,22 @@
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"symfony/event-dispatcher": "~2.1",
|
||||
"symfony/http-foundation": "~2.2",
|
||||
"symfony/http-foundation": "~2.3,>=2.3.4",
|
||||
"symfony/debug": "~2.3",
|
||||
"psr/log": "~1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/browser-kit": "~2.2",
|
||||
"symfony/browser-kit": "~2.3",
|
||||
"symfony/class-loader": "~2.1",
|
||||
"symfony/config": "~2.0",
|
||||
"symfony/config": "~2.0,>=2.0.5",
|
||||
"symfony/console": "~2.2",
|
||||
"symfony/dependency-injection": "~2.0",
|
||||
"symfony/finder": "~2.0",
|
||||
"symfony/process": "~2.0",
|
||||
"symfony/css-selector": "~2.0,>=2.0.5",
|
||||
"symfony/dependency-injection": "~2.2",
|
||||
"symfony/dom-crawler": "~2.0,>=2.0.5",
|
||||
"symfony/finder": "~2.0,>=2.0.5",
|
||||
"symfony/process": "~2.0,>=2.0.5",
|
||||
"symfony/routing": "~2.2",
|
||||
"symfony/stopwatch": "~2.2",
|
||||
"symfony/stopwatch": "~2.3",
|
||||
"symfony/templating": "~2.2"
|
||||
},
|
||||
"suggest": {
|
||||
|
@ -21,7 +21,7 @@
|
||||
"require-dev": {
|
||||
"symfony/config": "~2.2",
|
||||
"symfony/http-foundation": "~2.3",
|
||||
"symfony/yaml": "~2.0",
|
||||
"symfony/yaml": "~2.0,>=2.0.5",
|
||||
"doctrine/common": "~2.2",
|
||||
"psr/log": "~1.0"
|
||||
},
|
||||
|
@ -17,12 +17,13 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"symfony/event-dispatcher": "~2.1",
|
||||
"symfony/event-dispatcher": "~2.2",
|
||||
"symfony/http-foundation": "~2.1",
|
||||
"symfony/http-kernel": "~2.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/form": "~2.0",
|
||||
"symfony/form": "~2.0,>=2.0.5",
|
||||
"symfony/locale": "~2.0,>=2.0.5",
|
||||
"symfony/routing": "~2.2",
|
||||
"symfony/validator": "~2.2",
|
||||
"doctrine/common": "~2.2",
|
||||
|
@ -19,7 +19,7 @@
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/config": "~2.0",
|
||||
"symfony/config": "~2.3,>=2.3.12",
|
||||
"symfony/intl": "~2.3",
|
||||
"symfony/yaml": "~2.2"
|
||||
},
|
||||
|
@ -17,12 +17,12 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"symfony/translation": "~2.0"
|
||||
"symfony/translation": "~2.0,>=2.0.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/http-foundation": "~2.1",
|
||||
"symfony/intl": "~2.3",
|
||||
"symfony/yaml": "~2.0",
|
||||
"symfony/yaml": "~2.0,>=2.0.5",
|
||||
"symfony/config": "~2.2"
|
||||
},
|
||||
"suggest": {
|
||||
|
Reference in New Issue
Block a user