Keine Beschreibung

.travis.yml 890B

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