.travis.yml 524 B

123456789101112131415161718192021222324
  1. dist: xenial
  2. language: php
  3. matrix:
  4. fast_finish: true
  5. include:
  6. - php: 7.1
  7. - php: 7.2
  8. - php: 7.3
  9. cache:
  10. directories:
  11. - $HOME/.composer/cache
  12. install:
  13. - travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest
  14. script:
  15. - vendor/bin/phpunit --coverage-clover build/logs/coverage.xml
  16. after_script:
  17. - travis_retry wget https://scrutinizer-ci.com/ocular.phar
  18. - php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.xml