language: php
php:
  - '5.5'
  - '5.6'
  - '7.0'
  - hhvm

install: composer install --dev
script: phpunit

language: php
php:
  - '5.6'
  - '7.0'
  - hhvm
matrix:
  allow_failures:
    - php: 'nightly'

before_script: composer self-update
install: composer install --dev
script: phpunit

Stop testing in 5.5, and start testing (but allow failures) in php nightly. Also update composer itself before starting.
Stop testing in 5.5, and start testing (but allow failures) in php nightly. Also update composer itself before starting.
