language:
    php

php:
    - 5.5
    - 5.6
    - 7

cache:
    directories:
        - vendor

before_script:
    - composer install --no-interaction --prefer-source

script:
    - vendor/bin/phpunit --coverage-clover=coverage.clover

after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

# vim: et ts=4 sw=4:

Add continuous integration with Travis
Add continuous integration with Travis

Builds for PHP 5.5, 5.6 and 7 along with sending code coverage reports
to Scrutinizer.
