.travis.yml 560 B

1234567891011121314151617181920212223242526272829
  1. language: php
  2. php:
  3. - 7.1
  4. - 7.2
  5. - 7.3
  6. - 7.4snapshot
  7. env:
  8. matrix:
  9. - DRIVER="phpdbg"
  10. - DRIVER="xdebug"
  11. before_install:
  12. - composer clear-cache
  13. install:
  14. - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest
  15. script:
  16. - if [[ "$DRIVER" = 'phpdbg' ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
  17. - if [[ "$DRIVER" != 'phpdbg' ]]; then vendor/bin/phpunit --coverage-clover=coverage.xml; fi
  18. after_success:
  19. - bash <(curl -s https://codecov.io/bash)
  20. notifications:
  21. email: false