language: php

php:
  - '7.0'
  - '7.1'
  - nightly
  
before_script:
  - composer require php-coveralls/php-coveralls
  - composer install
  - mkdir -p build/logs

script:
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml
  
after_success:
  - bash <(curl -s https://codecov.io/bash)
  - travis_retry php vendor/bin/coveralls -v

language: php

php:
  - '7.0'
  - '7.1'
  - '7.2'
  - '7.3'
  - nightly
  
before_script:
  - composer require php-coveralls/php-coveralls
  - composer install
  - mkdir -p build/logs

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

matrix:
  fast_finish: true
  allow_failures:
  - php: nightly
  
after_success:
  - bash <(curl -s https://codecov.io/bash)
  - travis_retry php vendor/bin/coveralls -v

Add PHP 7.2/7.3 to the Travis testing matrix, allow nightly PHP builds to fail
Add PHP 7.2/7.3 to the Travis testing matrix, allow nightly PHP builds to fail
