This commit is contained in:
2026-01-07 16:58:35 +08:00
parent e061dbf714
commit f145a98be6
12 changed files with 1467 additions and 1 deletions

26
.travis.yml Normal file
View File

@@ -0,0 +1,26 @@
dist: xenial
language: php
matrix:
fast_finish: true
include:
- php: 8.0
- php: 8.1
- php: 8.2
- php: 8.3
- php: 8.4
cache:
directories:
- $HOME/.composer/cache
install:
- travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest
script:
- vendor/bin/phpunit --coverage-clover build/logs/coverage.xml
after_script:
- travis_retry wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.xml