.travis.yml 781 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. language: php
  2. php:
  3. - 5.6
  4. - 7.0
  5. - 7.0snapshot
  6. - 7.1
  7. - 7.1snapshot
  8. - master
  9. env:
  10. matrix:
  11. - DRIVER="xdebug"
  12. - DRIVER="phpdbg"
  13. matrix:
  14. allow_failures:
  15. - php: master
  16. fast_finish: true
  17. exclude:
  18. - php: 5.6
  19. env: DRIVER="phpdbg"
  20. sudo: false
  21. before_install:
  22. - composer self-update
  23. - composer clear-cache
  24. install:
  25. - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable
  26. script:
  27. - if [[ "$DRIVER" = 'phpdbg' ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
  28. - if [[ "$DRIVER" = 'xdebug' ]]; then vendor/bin/phpunit --coverage-clover=coverage.xml; fi
  29. after_success:
  30. - bash <(curl -s https://codecov.io/bash)
  31. notifications:
  32. email: false