language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7
  - hhvm

matrix:
  allow_failures:
    - php: 7
    - php: hhvm

before_script:
  - composer install --dev --prefer-source
  
script:
  - phpunit --coverage-text

language: php

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

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

before_script:
  - composer install --dev --prefer-source
  
script:
  - phpunit --coverage-text

Test against nightly and don't allow PHP 7 to fail
Test against nightly and don't allow PHP 7 to fail