File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,11 @@ cache:
37
37
before_script :
38
38
- if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
39
39
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
40
- - echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
41
- - echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
40
+ - if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then yes '' | pecl -q install -f mongo-stable; fi
41
+ - if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then pecl install -f mongodb-stable; fi
42
+ - if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then composer require "alcaeus/mongo-php-adapter=^1.0.0" --ignore-platform-reqs; fi
43
+ # - echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
44
+ # - echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
42
45
- composer self-update
43
46
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
44
47
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
Original file line number Diff line number Diff line change 44
44
"symfony/form" : " Needed to be able to use the AuthorizeFormType" ,
45
45
"symfony/console" : " Needed to be able to use commands"
46
46
},
47
- "provide" : {
48
- "ext-mongo" : " ^1.6.14"
49
- },
50
47
"autoload" : {
51
48
"psr-4" : { "FOS\\ OAuthServerBundle\\ " : " " },
52
49
"exclude-from-classmap" : [" /Tests/" ]
You can’t perform that action at this time.
0 commit comments