language: php

sudo: false

php:
    - 7.2
    - 7.3
    - 7.4

env: MONGODB_SERVER=

cache:
    directories:
        - $HOME/.composer/cache

services: mongodb

before_install: echo 'extension=mongodb.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

install: composer install --prefer-dist

script: bin/phpunit -c tests/

language: php

sudo: false

php:
    - 7.2
    - 7.3
    - 7.4

env: MONGODB_SERVER=mongodb://localhost:27017

cache:
    directories:
        - $HOME/.composer/cache

services: mongodb

before_install: echo 'extension=mongodb.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

install: composer install --prefer-dist

script: bin/phpunit -c tests/

Update MongoDB env var for Travis CI
Update MongoDB env var for Travis CI
