language: "php"

php:
    - "7.1"
    - "7.2"

before_install:
    - "composer self-update"

install:
    - "composer install"

script:
    - "php vendor/bin/phpunit --coverage-clover=coverage.clover --coverage-text --verbose"

after_script:
    - "php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover"

language: "php"

php:
    - "7.1"
    - "7.2"

before_install:
    - "composer self-update"

install:
    - "composer install"

script:
    - "php vendor/bin/phpunit --coverage-clover=coverage.clover --coverage-text --verbose"

after_script:
    - "php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover"

addons:
    apt:
        packages:
            - ghostscript
Add Ghostscript to Travis configuration.
Add Ghostscript to Travis configuration.
