mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 21:52:21 +00:00
2.0.3 (2022-09-12)
- Update composer packages - Added WoodpeckerCI tests - Updated links in composer package - Stricter typing
This commit is contained in:
parent
f9a22e7b8a
commit
05cae402b5
21 changed files with 215 additions and 524 deletions
8
.woodpecker/.lint.yml
Normal file
8
.woodpecker/.lint.yml
Normal 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
25
.woodpecker/.test.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue