language: php
php:
- 7.1
- 7.2
matrix:
  allow_failures:
    - php: 7.2
  include:
    - php: 7.1
      script:
      - phpdbg -qrr ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
      after_script:
      - php ./vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-dist
script:
- vendor/bin/phpunit

language: php
php:
- 7.1
- 7.2
matrix:
  include:
    - php: 7.1
      script:
      - phpdbg -qrr ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
      after_script:
      - php ./vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-dist
script:
- vendor/bin/phpunit

Make tests with PHP 7.2 mandatory.
Make tests with PHP 7.2 mandatory.
