language: php

sudo: false

php:
  - 7.0
  - 7.1
  - 7.2

matrix:
  allow_failures:
    - php: 7.2

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

before_install:
  - composer selfupdate

install:
  - composer install

script:
  - ./vendor/bin/phpunit

language: php

sudo: false

php:
  - 7.0
  - 7.1
  - 7.2

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

before_install:
  - composer selfupdate

install:
  - composer install

script:
  - ./vendor/bin/phpunit

Remove "allow_failures" for PHP 7.2
Remove "allow_failures" for PHP 7.2