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

before_script:
  - composer install --no-interaction --prefer-source --dev
  - phpenv rehash
script:
  - cd tests
  - phpunit --coverage-text .
  - cd ..
  - ./vendor/bin/phpcs --standard=PEAR src/
