language: php

php:
  - 7.1
  - 7.2
  - 7.3

matrix:
  fast_finish: true

env:
  - COMPOSER_FLAGS="--prefer-lowest"
  - COMPOSER_FLAGS=""

before_install:
  - composer self-update

install:
  - composer update --no-interaction --prefer-dist $COMPOSER_FLAGS

script:
  - vendor/bin/phpunit

notifications:
  email:
    - info@endroid.nl
