2.0.3 (2022-09-12)

- Update composer packages
- Added WoodpeckerCI tests
- Updated links in composer package
- Stricter typing
This commit is contained in:
idanoo 2022-09-12 19:50:02 +12:00
parent f9a22e7b8a
commit 05cae402b5
Signed by: idanoo
GPG key ID: 387387CDBC02F132
21 changed files with 215 additions and 524 deletions

8
.woodpecker/.lint.yml Normal file
View file

@ -0,0 +1,8 @@
pipeline:
lint:
image: php:8.1-cli
commands:
- apt update && apt install -y wget unzip git
- wget https://getcomposer.org/download/latest-stable/composer.phar
- php composer.phar install --dev
- php -d memory_limit=256M vendor/bin/phpcs -s --standard=ruleset.xml

25
.woodpecker/.test.yml Normal file
View file

@ -0,0 +1,25 @@
matrix:
PHP_VERSION:
- 7.4
- 8.0
- 8.1
pipeline:
unit-tests:
image: php:${PHP_VERSION}-cli
commands:
- apt-get update -yq
- apt-get install git wget procps unzip -y
- pecl install -o -f redis && rm -rf /tmp/pear
- docker-php-ext-enable redis
- docker-php-ext-install pcntl
- wget https://getcomposer.org/download/latest-stable/composer.phar
- php composer.phar install --dev
- php vendor/bin/phpunit --verbose --configuration phpunit.xml
services:
redis:
image: redis:latest
depends_on:
- lint