language: php

sudo: false

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

matrix:
    allow_failures:
        - php: hhvm
    fast_finish: true

branches:
  only:
    - master
    - 2.x

before_install:
  - composer self-update

install:
  - composer install

script:
  - phpunit
