language: php

php:
    - 5.4
    - 5.5
    - 5.6
    - 7.0
    - hhvm

matrix:
    allow_failures:
        - php: 7.0

before_script:
    - composer self-update
    - composer update

script:
    - php vendor/bin/phpunit

after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover log/coverage.xml
    - wget https://tomzx.github.io/php-semver-checker-git/php-semver-checker-git.phar
    - php php-semver-checker-git.phar suggest src src --allow-detached -vvv

language: php

php:
    - 5.6
    - 7.0
    - 7.1
    - hhvm

sudo: false

install:
    - composer self-update
    - composer install --no-interaction --prefer-source

script:
    - php vendor/bin/phpunit

after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover log/coverage.xml
    - wget http://psvcg.coreteks.org/php-semver-checker-git.phar
    - php php-semver-checker-git.phar suggest -vvv

Drop support for PHP 5.4 and 5.5. Remove PHP 7.0 from allow_failures matrix.
Drop support for PHP 5.4 and 5.5.
Remove PHP 7.0 from allow_failures matrix.
