.travis.yml 358 B

1234567891011121314151617181920212223
  1. env:
  2. global:
  3. - XDEBUG_MODE=coverage
  4. language: php
  5. php:
  6. - 7.0
  7. - 7.1
  8. - 7.2
  9. - 7.3
  10. - 7.4
  11. - 8.0
  12. before_script:
  13. - travis_retry composer self-update
  14. - travis_retry composer install --no-interaction --prefer-source
  15. script:
  16. - vendor/bin/phpunit --coverage-clover=coverage.xml --whitelist=./src tests
  17. after_success:
  18. - bash <(curl -s https://codecov.io/bash)