language: php

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

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

sudo: false

before_script:
  - phpenv config-rm xdebug.ini
  - composer self-update
  - composer require satooshi/php-coveralls:~2.0.0 --no-update --dev
  - composer install --prefer-source

script:
  - php vendor/bin/phpunit

after_script:
  - php vendor/bin/coveralls

language: php

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

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

sudo: false

before_script:
  - phpenv config-rm xdebug.ini || true
  - composer self-update
  - composer require satooshi/php-coveralls:~2.0.0 --no-update --dev
  - composer install --prefer-source

script:
  - php vendor/bin/phpunit

after_script:
  - php vendor/bin/coveralls

Allow xdebug not to be disabled
Allow xdebug not to be disabled

This allows the script to continue if xdebug can't be disabled
(most likely bc it isn't there in the first place)