Skip to content

Commit 848e3cb

Browse files
committed
Test against lowest dependencies
1 parent c356061 commit 848e3cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
matrix:
2323
include:
2424
- php: 5.6
25-
env: DRIVER_VERSION="1.5.8" SERVER_VERSION="2.6"
25+
env: DRIVER_VERSION="1.5.8" SERVER_VERSION="2.6" PREFER_LOWEST="--prefer-lowest"
2626

2727
before_install:
2828
- sudo apt-key adv --keyserver ${KEY_SERVER} --recv 7F0CEB10
@@ -42,7 +42,7 @@ before_script:
4242
- if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then yes '' | pecl -q install -f mongo-${DRIVER_VERSION}; fi
4343
- if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then pecl install -f mongodb-${DRIVER_VERSION}; fi
4444
- if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then composer require "alcaeus/mongo-php-adapter=${ADAPTER_VERSION}" --ignore-platform-reqs; fi
45-
- composer install --dev
45+
- composer update ${PREFER_LOWEST}
4646

4747
script:
4848
- ./vendor/bin/phpunit --coverage-clover=coverage.clover

0 commit comments

Comments
 (0)