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.
45 lines
963 B
YAML
45 lines
963 B
YAML
---
|
|
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: testing
|
|
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: ad2a518ae2f5db6fe8d8a45078668f02a11e54ae83bb7c5612058c2a880dc1ec
|