Skip to content

Commit 1c78903

Browse files
Test components using their lowest possible deps
1 parent da1c1c5 commit 1c78903

File tree

20 files changed

+74
-51
lines changed

20 files changed

+74
-51
lines changed

.travis.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ matrix:
1313
- php: hhvm-nightly
1414
include:
1515
- php: 5.5
16-
env: components=yes
16+
env: components=high
17+
- php: 5.3.3
18+
env: components=low
1719

1820
services: mongodb
1921

@@ -33,8 +35,11 @@ before_install:
3335

3436
install:
3537
- sh -c 'if [ "$components" = "no" ]; then sh -c "COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install"; fi;'
38+
- sh -c 'if [ "$components" = "high" ]; then sh -c "git fetch origin +refs/tags/v2.3.0; git checkout FETCH_HEAD"; fi;'
39+
- sh -c 'if [ "$components" = "low" ]; then git clone https://github.com/nicolas-grekas/composer.git ~/composer; cd ~/composer; git checkout prefer-lowest-stable; composer install --no-dev; cd -; fi;'
3640

3741
script:
3842
- 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;'
3943
- sh -c 'if [ "$components" = "no" ]; then sh -c "echo "\""Running tests requiring tty"\""; phpunit --group tty"; fi;'
40-
- 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;'
44+
- 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;'
45+
- 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/bin/composer --prefer-source --dev --prefer-lowest-stable update; phpunit --exclude-group tty,benchmark,intl-data;'\''"; fi;'

src/Symfony/Bridge/Doctrine/composer.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.3",
20-
"doctrine/common": "~2.2"
20+
"doctrine/common": "~2.3"
2121
},
2222
"require-dev": {
2323
"symfony/stopwatch": "~2.2",
24-
"symfony/dependency-injection": "~2.0",
25-
"symfony/form": "~2.2",
24+
"symfony/dependency-injection": "~2.0,>=2.0.5",
25+
"symfony/form": "~2.3,>=2.3.8",
2626
"symfony/http-kernel": "~2.2",
27+
"symfony/property-access": "~2.3",
2728
"symfony/security": "~2.2",
28-
"symfony/validator": "~2.3.0",
29+
"symfony/validator": "~2.3.0,>=2.3.20",
30+
"symfony/translation": "~2.0,>=2.0.5",
2931
"doctrine/data-fixtures": "1.0.*",
3032
"doctrine/dbal": "~2.2",
3133
"doctrine/orm": "~2.2,>=2.2.3"

src/Symfony/Bridge/Propel1/composer.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.3",
20-
"symfony/http-foundation": "~2.0",
21-
"symfony/http-kernel": "~2.0",
22-
"symfony/form": "~2.2",
23-
"propel/propel1": "~1.6"
20+
"symfony/http-foundation": "~2.0,>=2.0.5",
21+
"symfony/http-kernel": "~2.0,>=2.0.5",
22+
"symfony/form": "~2.3,>=2.3.8",
23+
"symfony/property-access": "~2.3",
24+
"propel/propel1": "~1.6,>=1.6.5"
2425
},
2526
"require-dev": {
2627
"symfony/stopwatch": "~2.2"

src/Symfony/Bridge/Twig/composer.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,18 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.3",
20-
"twig/twig": "~1.12"
20+
"twig/twig": "~1.12,>=1.12.3"
2121
},
2222
"require-dev": {
2323
"symfony/finder": "~2.3",
24-
"symfony/form": "~2.2",
25-
"symfony/http-kernel": "~2.2",
24+
"symfony/form": "~2.3,>=2.3.5",
25+
"symfony/http-kernel": "~2.3",
26+
"symfony/locale": "~2.0,>=2.0.5",
2627
"symfony/routing": "~2.2",
2728
"symfony/templating": "~2.1",
2829
"symfony/translation": "~2.2",
29-
"symfony/yaml": "~2.0",
30-
"symfony/security": "~2.0"
30+
"symfony/yaml": "~2.0,>=2.0.5",
31+
"symfony/security": "~2.0,>=2.0.5"
3132
},
3233
"suggest": {
3334
"symfony/finder": "",

src/Symfony/Bundle/FrameworkBundle/composer.json

+13-9
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,31 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.3",
20-
"symfony/dependency-injection" : "~2.2",
21-
"symfony/config" : "~2.2",
20+
"symfony/dependency-injection" : "~2.3",
21+
"symfony/config" : "~2.3,>=2.3.12",
2222
"symfony/event-dispatcher": "~2.1",
23-
"symfony/http-kernel": "~2.3",
23+
"symfony/http-foundation": "~2.3,>=2.3.19",
24+
"symfony/http-kernel": "~2.3,>=2.3.22",
2425
"symfony/filesystem": "~2.3",
2526
"symfony/routing": "~2.2",
2627
"symfony/stopwatch": "~2.3",
2728
"symfony/templating": "~2.1",
28-
"symfony/translation": "~2.3",
29+
"symfony/translation": "~2.3,>=2.3.19",
2930
"doctrine/common": "~2.2"
3031
},
3132
"require-dev": {
3233
"symfony/browser-kit": "~2.3",
33-
"symfony/console": "~2.0",
34-
"symfony/finder": "~2.0",
34+
"symfony/console": "~2.3",
35+
"symfony/css-selector": "~2.0,>=2.0.5",
36+
"symfony/dom-crawler": "~2.0,>=2.0.5",
37+
"symfony/finder": "~2.0,>=2.0.5",
38+
"symfony/locale": "~2.0,>=2.0.5",
3539
"symfony/security": "~2.3",
36-
"symfony/form": "~2.3.0",
40+
"symfony/form": "~2.3.0,>=2.3.5",
3741
"symfony/class-loader": "~2.1",
38-
"symfony/process": "~2.0",
42+
"symfony/process": "~2.0,>=2.0.5",
3943
"symfony/validator": "~2.1",
40-
"symfony/yaml": "~2.0"
44+
"symfony/yaml": "~2.0,>=2.0.5"
4145
},
4246
"suggest": {
4347
"symfony/console": "",

src/Symfony/Bundle/SecurityBundle/composer.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,19 @@
2222
},
2323
"require-dev": {
2424
"symfony/browser-kit": "~2.3",
25+
"symfony/css-selector": "~2.0,>=2.0.5",
26+
"symfony/dependency-injection": "~2.3",
27+
"symfony/dom-crawler": "~2.0,>=2.0.5",
2528
"symfony/form": "~2.3",
2629
"symfony/framework-bundle": "~2.2,<2.6.0",
30+
"symfony/http-foundation": "~2.3",
2731
"symfony/twig-bundle": "~2.2",
28-
"symfony/form": "~2.1",
29-
"symfony/process": "~2.0",
32+
"symfony/twig-bridge": "~2.2,>=2.2.6",
33+
"symfony/form": "~2.3",
34+
"symfony/process": "~2.0,>=2.0.5",
3035
"symfony/validator": "~2.2",
31-
"symfony/yaml": "~2.0"
36+
"symfony/yaml": "~2.0,>=2.0.5",
37+
"twig/twig": "~1.12"
3238
},
3339
"autoload": {
3440
"psr-0": { "Symfony\\Bundle\\SecurityBundle\\": "" }

src/Symfony/Bundle/TwigBundle/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"require-dev": {
2424
"symfony/stopwatch": "~2.2",
25-
"symfony/dependency-injection": "~2.0",
25+
"symfony/dependency-injection": "~2.2",
2626
"symfony/config": "~2.2",
2727
"symfony/framework-bundle": "~2.1"
2828
},

src/Symfony/Bundle/WebProfilerBundle/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"require-dev": {
2525
"symfony/config": "~2.2",
2626
"symfony/console": "~2.3",
27-
"symfony/dependency-injection": "~2.0",
27+
"symfony/dependency-injection": "~2.2",
2828
"symfony/stopwatch": "~2.2"
2929
},
3030
"autoload": {

src/Symfony/Component/BrowserKit/composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.3",
20-
"symfony/dom-crawler": "~2.0"
20+
"symfony/dom-crawler": "~2.0,>=2.0.5"
2121
},
2222
"require-dev": {
23-
"symfony/process": "~2.0",
24-
"symfony/css-selector": "~2.0"
23+
"symfony/process": "~2.0,>=2.0.5",
24+
"symfony/css-selector": "~2.0,>=2.0.5"
2525
},
2626
"suggest": {
2727
"symfony/process": ""

src/Symfony/Component/ClassLoader/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"php": ">=5.3.3"
2121
},
2222
"require-dev": {
23-
"symfony/finder": "~2.0"
23+
"symfony/finder": "~2.0,>=2.0.5"
2424
},
2525
"autoload": {
2626
"psr-0": { "Symfony\\Component\\ClassLoader\\": "" }

src/Symfony/Component/Debug/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
22-
"symfony/http-kernel": "~2.1",
22+
"symfony/http-kernel": "~2.2",
2323
"symfony/http-foundation": "~2.1"
2424
},
2525
"suggest": {

src/Symfony/Component/DependencyInjection/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
22-
"symfony/yaml": "~2.0",
22+
"symfony/yaml": "~2.1",
2323
"symfony/config": "~2.2"
2424
},
2525
"suggest": {

src/Symfony/Component/DomCrawler/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
22-
"symfony/css-selector": "~2.0"
22+
"symfony/css-selector": "~2.0,>=2.0.5"
2323
},
2424
"suggest": {
2525
"symfony/css-selector": ""

src/Symfony/Component/EventDispatcher/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
22-
"symfony/dependency-injection": "~2.0"
22+
"symfony/dependency-injection": "~2.0,>=2.0.5"
2323
},
2424
"suggest": {
2525
"symfony/dependency-injection": "",

src/Symfony/Component/Form/composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
},
2525
"require-dev": {
2626
"doctrine/collections": "~1.0",
27-
"symfony/validator": "~2.3.0",
27+
"symfony/validator": "~2.3.0,>=2.3.20",
28+
"symfony/translation": "~2.0,>=2.0.5",
2829
"symfony/http-foundation": "~2.2"
2930
},
3031
"suggest": {

src/Symfony/Component/HttpKernel/composer.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,22 @@
1818
"require": {
1919
"php": ">=5.3.3",
2020
"symfony/event-dispatcher": "~2.1",
21-
"symfony/http-foundation": "~2.2",
21+
"symfony/http-foundation": "~2.3,>=2.3.4",
2222
"symfony/debug": "~2.3",
2323
"psr/log": "~1.0"
2424
},
2525
"require-dev": {
26-
"symfony/browser-kit": "~2.2",
26+
"symfony/browser-kit": "~2.3",
2727
"symfony/class-loader": "~2.1",
28-
"symfony/config": "~2.0",
28+
"symfony/config": "~2.0,>=2.0.5",
2929
"symfony/console": "~2.2",
30-
"symfony/dependency-injection": "~2.0",
31-
"symfony/finder": "~2.0",
32-
"symfony/process": "~2.0",
30+
"symfony/css-selector": "~2.0,>=2.0.5",
31+
"symfony/dependency-injection": "~2.2",
32+
"symfony/dom-crawler": "~2.0,>=2.0.5",
33+
"symfony/finder": "~2.0,>=2.0.5",
34+
"symfony/process": "~2.0,>=2.0.5",
3335
"symfony/routing": "~2.2",
34-
"symfony/stopwatch": "~2.2",
36+
"symfony/stopwatch": "~2.3",
3537
"symfony/templating": "~2.2"
3638
},
3739
"suggest": {

src/Symfony/Component/Routing/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"require-dev": {
2222
"symfony/config": "~2.2",
2323
"symfony/http-foundation": "~2.3",
24-
"symfony/yaml": "~2.0",
24+
"symfony/yaml": "~2.0,>=2.0.5",
2525
"doctrine/common": "~2.2",
2626
"psr/log": "~1.0"
2727
},

src/Symfony/Component/Security/composer.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.3",
20-
"symfony/event-dispatcher": "~2.1",
20+
"symfony/event-dispatcher": "~2.2",
2121
"symfony/http-foundation": "~2.1",
2222
"symfony/http-kernel": "~2.1"
2323
},
2424
"require-dev": {
25-
"symfony/form": "~2.0",
25+
"symfony/form": "~2.0,>=2.0.5",
26+
"symfony/locale": "~2.0,>=2.0.5",
2627
"symfony/routing": "~2.2",
2728
"symfony/validator": "~2.2",
2829
"doctrine/common": "~2.2",

src/Symfony/Component/Translation/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
22-
"symfony/config": "~2.0",
22+
"symfony/config": "~2.3,>=2.3.12",
2323
"symfony/intl": "~2.3",
2424
"symfony/yaml": "~2.2"
2525
},

src/Symfony/Component/Validator/composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.3",
20-
"symfony/translation": "~2.0"
20+
"symfony/translation": "~2.0,>=2.0.5"
2121
},
2222
"require-dev": {
2323
"symfony/http-foundation": "~2.1",
2424
"symfony/intl": "~2.3",
25-
"symfony/yaml": "~2.0",
25+
"symfony/yaml": "~2.0,>=2.0.5",
2626
"symfony/config": "~2.2"
2727
},
2828
"suggest": {

0 commit comments

Comments
 (0)