language: php

sudo: false

php:
  - 7.0
  - 7.1
  - 7.2

matrix:
  fast_finish: true

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

before_install:
  - composer self-update
  - composer validate

install:
  - composer install --prefer-dist --no-interaction

script:
  - vendor/bin/phpunit
