language: php
dist: trusty

sudo: false

cache:
    directories:
    - vendor/

php:
    - 5.6
    - 7.0
    - 7.1
    - 7.2
    - nightly

notifications:
    email: false
    irc:
      channels:
        - "irc.iiens.net#Clicky"
      on_success: change
      on_failure: always

before_script:
    - rm composer.lock
    - composer self-update -n
    - composer install -n
    - mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/
    - pecl install runkit || true
    - phpenv config-add tests/php.ini

script:
    - vendor/bin/phpunit --coverage-clover clover.xml
    - vendor/bin/phpcs

after_success:
    - composer require --dev satooshi/php-coveralls
    - travis_retry vendor/bin/php-coveralls -n -v


language: php
dist: trusty

sudo: false

cache:
    directories:
    - vendor/

php:
    - 7.1
    - 7.2
    - 7.3
    - 7.4
    - nightly

notifications:
    email: false
    irc:
      channels:
        - "irc.iiens.net#Clicky"
      on_success: change
      on_failure: always

before_script:
    - rm composer.lock
    - composer self-update -n
    - composer install -n
    - mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/
    - pecl install runkit || true
    - phpenv config-add tests/php.ini

script:
    - vendor/bin/phpunit --coverage-clover clover.xml
    - vendor/bin/phpcs

after_success:
    - composer require --dev satooshi/php-coveralls
    - travis_retry vendor/bin/php-coveralls -n -v


Test with PHP >= 7.1
Test with PHP >= 7.1
