You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
name: default
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: composer
|
|
|
|
image: composer
|
|
|
|
volumes:
|
|
|
|
- name: composer
|
|
|
|
path: /composer
|
|
|
|
environment:
|
|
|
|
COMPOSER_HOME: /composer
|
|
|
|
commands:
|
|
|
|
- composer install --no-ansi --no-interaction --ignore-platform-reqs
|
|
|
|
|
|
|
|
- name: static analysis
|
|
|
|
image: d.xr.to/eater/php7.4rc6
|
|
|
|
commands:
|
|
|
|
- ./vendor/bin/phpstan analyse --no-ansi --no-interaction -l max -a vendor/autoload.php src
|
|
|
|
depends_on:
|
|
|
|
- composer
|
|
|
|
|
|
|
|
- name: testing
|
|
|
|
image: d.xr.to/eater/php7.4rc6
|
|
|
|
commands:
|
|
|
|
- ./vendor/bin/phpunit --colors=always
|
|
|
|
depends_on:
|
|
|
|
- composer
|
|
|
|
|
|
|
|
- name: code style
|
|
|
|
image: d.xr.to/eater/php7.4rc6
|
|
|
|
commands:
|
|
|
|
- ./vendor/bin/php-cs-fixer fix --dry-run src
|
|
|
|
depends_on:
|
|
|
|
- composer
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: composer
|
|
|
|
host:
|
|
|
|
path: /tank/var/composer-cache
|
|
|
|
---
|
|
|
|
kind: signature
|
|
|
|
hmac: 425bd1233fff6c5af57e623c10ff48d8e7f79485ac5bf3a6ee1cdfb1a5061df7
|