test drone
This commit is contained in:
parent
fe112f872f
commit
a3dd5e0e49
1 changed files with 26 additions and 0 deletions
26
.drone.yml
Normal file
26
.drone.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: install
|
||||||
|
image: composer
|
||||||
|
commands:
|
||||||
|
- cd app
|
||||||
|
- composer install
|
||||||
|
- name: phpstan
|
||||||
|
image: ghcr.io/phpstan/phpstan:1-php8.1
|
||||||
|
commands:
|
||||||
|
- cd app
|
||||||
|
- php ./vendor/bin/phpstan analyze
|
||||||
|
depends_on:
|
||||||
|
- install
|
||||||
|
- name: ecs
|
||||||
|
image: php:8.1-cli-alpine
|
||||||
|
commands:
|
||||||
|
- cd app
|
||||||
|
- php ./vencor/bin/ecs
|
||||||
|
depends_on:
|
||||||
|
- install
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue