File tree Expand file tree Collapse file tree 3 files changed +21
-7
lines changed Expand file tree Collapse file tree 3 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,15 @@ sudo: false
55matrix :
66 include :
77 - php : 5.4
8- env : phpunit_exclude_groups=datetimeinterface
8+ env : phpunit_exclude_groups=datetimeinterface dependencies=lowest
99 - php : 5.5
1010 - php : 5.6
1111 - php : 7.0
1212 - php : 7.1
13+ - php : 7.1
14+ env : dependencies=lowest
1315 - php : 7.2
16+ env : dependencies=lowest
1417
1518cache :
1619 directories :
@@ -24,15 +27,18 @@ before_install:
2427 - if [[ "$TRAVIS_PHP_VERSION" != 5.* ]]; then cp composer7.json composer.json; fi
2528
2629install :
27- - composer install --prefer-dist
30+ - |
31+ if [[ "$dependencies" = "lowest" ]]; then
32+ composer update --prefer-lowest --prefer-stable -n
33+ else
34+ composer install --prefer-dist
35+ fi
2836
2937script :
3038 - |
3139 if [[ ! $phpunit_exclude_groups ]]; then
32- echo "Debug: 'bin/phpunit -c tests/'"
3340 bin/phpunit -c tests/
3441 else
35- echo "Debug: 'bin/phpunit -c tests/ --exclude-group $phpunit_exclude_groups'"
3642 bin/phpunit -c tests/ --exclude-group $phpunit_exclude_groups
3743 fi
3844
Original file line number Diff line number Diff line change 4747 "doctrine/orm" : " >=2.5.0" ,
4848 "doctrine/common" : " >=2.5.0" ,
4949 "symfony/yaml" : " ~2.6|~3.0|~4.0" ,
50- "phpunit/phpunit" : " ^4.8|^5.7|^6.5"
50+ "phpunit/phpunit" : " ^4.8.35|^5.7|^6.5"
51+ },
52+ "conflict" : {
53+ "doctrine/annotations" : " <1.2"
5154 },
5255 "suggest" : {
5356 "doctrine/mongodb-odm" : " to use the extensions with the MongoDB ODM" ,
Original file line number Diff line number Diff line change 4242 "behat/transliterator" : " ~1.2" ,
4343 "doctrine/common" : " ~2.4"
4444 },
45- "replace " : {
45+ "provide " : {
4646 "ext-mongo" : " 1.6.12"
4747 },
4848 "require-dev" : {
5151 "doctrine/orm" : " >=2.5.0" ,
5252 "doctrine/common" : " >=2.5.0" ,
5353 "symfony/yaml" : " ~2.6|~3.0|~4.0" ,
54- "phpunit/phpunit" : " ^4.8|^5.7|^6.5"
54+ "phpunit/phpunit" : " ^5.7|^6.5"
55+ },
56+ "conflict" : {
57+ "doctrine/annotations" : " <1.2" ,
58+ "doctrine/mongodb" : " <1.3" ,
59+ "sebastian/comparator" : " <2.0"
5560 },
5661 "suggest" : {
5762 "doctrine/mongodb-odm" : " to use the extensions with the MongoDB ODM" ,
You can’t perform that action at this time.
0 commit comments