language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm

before_script:
  - COMPOSER_ROOT_VERSION=dev-master composer selfupdate
  - COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install

script:
  - bin/phpspec run
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm

before_script:
  - COMPOSER_ROOT_VERSION=dev-master composer selfupdate
  - COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install

script:
  - bin/phpspec run
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

matrix:
  allow_failures:
    - php: hhvm

Allow failure for hhvm tests (no xdebug)
Allow failure for hhvm tests (no xdebug)
