language: php

php:
    - 5.4
    - 5.5
    - 5.6
    - hhvm

install:
    - composer install

script: phpunit -c phpunit.xml.dist
language: php

php:
    - 5.4
    - 5.5
    - 5.6
    - hhvm

install:
    - composer install

script: >
    phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
    wget https://scrutinizer-ci.com/ocular.phar
    php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Send code coverage to scrutinizer.
Send code coverage to scrutinizer.