File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
tests/Bridge/Symfony/Bundle/DependencyInjection Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,10 @@ reusable-steps:
87
87
run :
88
88
name : Update Composer
89
89
command : sudo composer self-update
90
- - &require -doctrine-odm
90
+ - &install -doctrine-mongodb -odm
91
91
run :
92
- name : Require doctrine/mongodb-odm an doctrine/mongodb-odm-bundle
93
- command : composer require --no-update doctrine/mongodb-odm:^2.0.0@beta doctrine/mongodb-odm-bundle:^4.0.0@beta
92
+ name : Install Doctrine MongoDB ODM
93
+ command : composer require --prefer-dist -- no-progress --no-suggest --no- update --ansi doctrine/mongodb-odm:^2.0.0@beta doctrine/mongodb-odm-bundle:^4.0.0@beta
94
94
- &update-project-dependencies
95
95
run :
96
96
name : Update project dependencies
@@ -138,7 +138,7 @@ jobs:
138
138
- *disable-php-memory-limit
139
139
- *install-php-extensions
140
140
- *update-composer
141
- - *require -doctrine-odm
141
+ - *install -doctrine-mongodb -odm
142
142
- *update-project-dependencies
143
143
- *save-composer-cache-by-revision
144
144
- *save-composer-cache-by-branch
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ before_install:
44
44
fi
45
45
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
46
46
- if [[ $APP_ENV = 'mongodb' ]]; then
47
- echo "extension=mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php .ini;
47
+ echo "extension=mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/mongodb .ini;
48
48
fi
49
49
- phpenv config-rm xdebug.ini || echo "xdebug not available"
50
50
- export PATH="$PATH:$HOME/.composer/vendor/bin"
51
51
52
52
install :
53
- - if [[ $APP_ENV = 'mongodb' ]]; then composer require --no-update doctrine/mongodb-odm:^2.0.0@beta doctrine/mongodb-odm-bundle:^4.0.0@beta; fi
53
+ - if [[ $APP_ENV = 'mongodb' ]]; then composer require --prefer-dist -- no-progress --no-suggest --no- update --ansi doctrine/mongodb-odm:^2.0.0@beta doctrine/mongodb-odm-bundle:^4.0.0@beta; fi
54
54
- if [[ $deps = 'low' ]]; then
55
55
composer update --prefer-dist --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi;
56
56
else
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function testDefaultConfig()
56
56
/**
57
57
* @group mongodb
58
58
*/
59
- public function testDefaultConfigWithOdm ()
59
+ public function testDefaultConfigWithMongoDbOdm ()
60
60
{
61
61
$ this ->runDefaultConfigTests (['orm ' , 'odm ' ]);
62
62
}
You can’t perform that action at this time.
0 commit comments