language: php

matrix:
  include:
    - php: 5.3
    - php: 5.4
    - php: 5.5
      env: COMPOSER_OPTS="--prefer-lowest"
    - php: 5.6
    - php: 7.0
    - php: hhvm

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y bash zsh

install:
  - composer self-update
  - composer update $COMPOSER_OPTS

script:
  - phpunit tests
