language: php

sudo: false

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

php:
  - 7.2
  - 7.3
  - 7.4snapshot

services: mongodb

before_install:
  - pecl install -f mongodb
  - composer validate --strict

before_script:
  - composer install

script:
  - ./vendor/bin/phpunit -v

language: php

sudo: false

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

php:
  - 7.2
  - 7.3
  - 7.4snapshot

services: mongodb

before_install:
  - pecl install -f mongodb
  - composer validate --strict

install:
  - composer update --prefer-stable --prefer-dist ${COMPOSER_FLAGS}

script:
  - ./vendor/bin/phpunit -v

jobs:
  include:
    # Tests the lowest set of dependencies
    - php: 7.2
      env: LOWEST COMPOSER_FLAGS="--prefer-lowest"

Add test against lowest dependencies
Add test against lowest dependencies
