language: php

php:
 - 7.1
 - 7.2
 - nightly

matrix:
  allow_failures:
    php: nightly

before_script:
 - travis_retry composer self-update
 - travis_retry composer update --no-interaction --prefer-source

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

after_success:
 - bash <(curl -s https://codecov.io/bash)

language: php

php:
 - 7.1
 - 7.2
 - nightly

matrix:
  allow_failures:
    - php: nightly

before_script:
 - travis_retry composer self-update
 - travis_retry composer update --no-interaction --prefer-source

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

after_success:
 - bash <(curl -s https://codecov.io/bash)

Fix the allow_failures setting in Travis build
Fix the allow_failures setting in Travis build
