Skip to content

Commit f213522

Browse files
committed
Add test against lowest composer dependencies
1 parent 6fbb80a commit f213522

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
- SERVER_DISTRO=ubuntu1604
1919
- SERVER_VERSION=4.0.10
2020
- DEPLOYMENT=STANDALONE
21+
- COMPOSER_OPTIONS=
2122

2223
jobs:
2324
allow_failures:
@@ -40,6 +41,12 @@ jobs:
4041
- stage: Test
4142
php: "7.4snapshot"
4243

44+
# Test against lowest supported dependencies
45+
- stage: Test
46+
php: "5.6"
47+
env:
48+
- COMPOSER_OPTIONS=--prefer-lowest
49+
4350
# Test older standalone server versions (3.0-3.6)
4451
- stage: Test
4552
php: "7.0"
@@ -124,7 +131,7 @@ before_script:
124131
- .travis/setup_mo.sh
125132
- pecl install -f mongodb-${DRIVER_VERSION}
126133
- php --ri mongodb
127-
- composer install --no-interaction --no-progress --no-suggest
134+
- composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-stable ${COMPOSER_OPTIONS}
128135
- ulimit -c
129136
- ulimit -c unlimited -S
130137

0 commit comments

Comments
 (0)