File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 77
88matrix :
99 include :
10- # Test the latest
11- - php : 5.6
12- env : MONGO_VERSION=stable
10+ # Test with the latest dependencies
1311 - php : 7.1
14- env : ADAPTER_VERSION="^1.0.0" MONGODB_VERSION=stable
1512 - php : 7.2
16- env : ADAPTER_VERSION="^1.0.0" MONGODB_VERSION=stable
1713
18- # Test with the lowest deps
19- - php : 5.6
20- env : MONGO_VERSION=stable COMPOSER_FLAGS="--prefer-stable --prefer-lowest --prefer-dist"
14+ # Test with the lowest dependencies
2115 - php : 7.2
22- # Note that the ADAPTER_VERSION is pinned to 1.0.0 when testing lowest deps
23- env : ADAPTER_VERSION="1.0.0" MONGODB_VERSION=stable COMPOSER_FLAGS="--prefer-stable --prefer-lowest --prefer-dist"
16+ env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest --prefer-dist"
2417
2518before_script :
2619 # Not using code coverage
2720 - phpenv config-rm xdebug.ini
28- - if ! [ -z "$MONGO_VERSION" ]; then yes '' | pecl -q install -f mongo-${MONGO_VERSION}; fi
29- - if ! [ -z "$MONGODB_VERSION" ]; then pecl install -f mongodb-${MONGODB_VERSION}; fi
30- - if ! [ -z "$ADAPTER_VERSION" ]; then composer require "alcaeus/mongo-php-adapter=${ADAPTER_VERSION}" --ignore-platform-reqs; fi
21+ - pecl install -f mongodb-stable
22+ - composer config "platform.ext-mongo" "1.6.16"
3123 - composer self-update
3224 # To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
33- - if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --ignore-platform-reqs -- quiet; fi
25+ - if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
3426 - composer update -v ${COMPOSER_FLAGS}
3527
3628script :
Original file line number Diff line number Diff line change 1212 "antimattr/mongodb-migrations-bundle" : " *"
1313 },
1414 "require" : {
15- "php" : " >=5.6 || ^7.0 " ,
15+ "php" : " ^7.1 " ,
1616 "symfony/dependency-injection" : " ^2.7 || ^3.3 || ^4.0" ,
1717 "symfony/http-kernel" : " ^2.7 || ^3.3 || ^4.0" ,
1818 "symfony/console" : " ^2.7 || ^3.3 || ^4.0" ,
3636 },
3737 "extra" : {
3838 "branch-alias" : {
39- "dev-master" : " 1.1 .x-dev"
39+ "dev-master" : " 2.0 .x-dev"
4040 }
4141 }
4242}
You can’t perform that action at this time.
0 commit comments