language: php
php:
  - '7.1'
  - '7.2'
  - '7.3'
  - '7.4snapshot'
  - nightly

matrix:
  allow_failures:
      - php: nightly
      - php: '7.4snapshot'

install:
  - composer update

script:
  - vendor/bin/phpunit --coverage-clover build/coverage/xml

after_script:
  - php vendor/bin/codacycoverage clover build/coverage/xml
language: php
php:
  - '7.1'
  - '7.2'
  - '7.3'
  - '7.4snapshot'
  - nightly

matrix:
  allow_failures:
      - php: nightly
      - php: '7.4snapshot'

install:
  - composer update

script:
  -  if [[ $(phpenv version-name) != '7.1' && $(phpenv version-name) != '7.2' ]] ; then vendor/bin/phpunit --coverage-clover build/coverage/xml ; fi

after_script:
  -  if [[ $(phpenv version-name) != '7.1' && $(phpenv version-name) != '7.2' ]] ; then vendor/bin/codacycoverage clover build/coverage/xml ; fi
Fix Travis, Xdebug old version coverage test. Coverage now only run on PHP >=7.3.
Fix Travis, Xdebug old version coverage test. Coverage now only run on PHP >=7.3.
