language: php

php:
  - 5.6
  - 5.5
  - 5.4
  - hhvm
  - 7.0

before_script:
  - composer self-update
  - composer install --prefer-dist

script:
  - phpunit --coverage-text

matrix:
  allow_failures:
    - php: hhvm
    - php: 7.0
language: php

php:
  - 5.6
  - 5.5
  - 5.4
  - hhvm
  - 7.0
  - 7.1
  - 7.2
  - nightly

before_script:
  - composer self-update
  - composer install --prefer-dist

script:
  - phpunit --coverage-text

matrix:
  allow_failures:
    - php: hhvm
    - php: nightly

Test PHP 7.1, 7.2 and nightly
TravisCI: Test PHP 7.1, 7.2 and nightly
