Add test against lowest composer dependencies

parent 6fbb80ae
...@@ -18,6 +18,7 @@ env: ...@@ -18,6 +18,7 @@ env:
- SERVER_DISTRO=ubuntu1604 - SERVER_DISTRO=ubuntu1604
- SERVER_VERSION=4.0.10 - SERVER_VERSION=4.0.10
- DEPLOYMENT=STANDALONE - DEPLOYMENT=STANDALONE
- COMPOSER_OPTIONS=
jobs: jobs:
allow_failures: allow_failures:
...@@ -40,6 +41,12 @@ jobs: ...@@ -40,6 +41,12 @@ jobs:
- stage: Test - stage: Test
php: "7.4snapshot" php: "7.4snapshot"
# Test against lowest supported dependencies
- stage: Test
php: "5.6"
env:
- COMPOSER_OPTIONS=--prefer-lowest
# Test older standalone server versions (3.0-3.6) # Test older standalone server versions (3.0-3.6)
- stage: Test - stage: Test
php: "7.0" php: "7.0"
...@@ -124,7 +131,7 @@ before_script: ...@@ -124,7 +131,7 @@ before_script:
- .travis/setup_mo.sh - .travis/setup_mo.sh
- pecl install -f mongodb-${DRIVER_VERSION} - pecl install -f mongodb-${DRIVER_VERSION}
- php --ri mongodb - php --ri mongodb
- composer install --no-interaction --no-progress --no-suggest - composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-stable ${COMPOSER_OPTIONS}
- ulimit -c - ulimit -c
- ulimit -c unlimited -S - ulimit -c unlimited -S
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment