language: php

cache:
    directories:
        - bin
        - vendor

php:
    - 7.0
    - 5.6
    - 5.5

before_install:
    - phpenv config-rm xdebug.ini
    - composer self-update
    - if [[ -z "$GITHUB_OAUTH_TOKEN" ]]; then export GITHUB_OAUTH_TOKEN="66736022ed66ebbb2be87027ed45a24554cc8344"; fi
    - composer config -g github-oauth.github.com "$GITHUB_OAUTH_TOKEN" >/dev/null 2>&1

install:
    - composer install --no-interaction --prefer-dist --no-scripts

script:
    - composer validate
    - vendor/bin/phpunit

language: php

cache:
    directories:
        - bin
        - vendor

php:
    - 7.0
    - 5.6

before_install:
    - phpenv config-rm xdebug.ini
    - composer self-update
    - if [[ -z "$GITHUB_OAUTH_TOKEN" ]]; then export GITHUB_OAUTH_TOKEN="66736022ed66ebbb2be87027ed45a24554cc8344"; fi
    - composer config -g github-oauth.github.com "$GITHUB_OAUTH_TOKEN" >/dev/null 2>&1

install:
    - composer install --no-interaction --prefer-dist --no-scripts

script:
    - composer validate
    - vendor/bin/phpunit

Drop support for PHP 5.5
feature(upgrade): Drop support for PHP 5.5
