Skip to content

Commit 3275610

Browse files
committed
Add mongodb to travis-ci build
1 parent b2376d9 commit 3275610

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ php:
44
- 7.1
55
- 7.2
66
- nightly
7+
services:
8+
- mongodb
79
env:
810
- PREFER_LOWEST="--prefer-lowest --prefer-stable"
911
- PREFER_LOWEST=""
@@ -12,6 +14,8 @@ matrix:
1214
allow_failures:
1315
- php: nightly
1416
before_script:
17+
- composer self-update
18+
- yes '' | pecl install -f mongodb-1.1
1519
- composer update $PREFER_LOWEST
1620
script:
1721
- ./vendor/bin/phpunit --coverage-clover clover.xml

0 commit comments

Comments
 (0)