sudo: false
language: php
php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - hhvm

before_script:
  - cd tests
  - composer install -n

script: phpunit --coverage-text --configuration phpunit.xml.dist

cache:
  directories:
    - tests/vendor
    - $HOME/.composer/cache