language: php

os: linux
dist: xenial

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4
  - hhvm

jobs:
  fast_finish: true
  allow_failures:
    - php: 7.3
    - php: 7.4
    - php: hhvm

before_install:
  - COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-source --no-interaction --dev

install:
  - COMPOSER_MEMORY_LIMIT=-1 composer install --no-interaction

script:
  - ./vendor/bin/phpunit

notifications:
  email:
    on_success: always
    on_failure: always
