Нет описания

.travis.yml 673B

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