Ajout d'une étape de linting dans DroneCi
This commit is contained in:
parent
1614145b18
commit
e7bf1ca1e8
@ -8,6 +8,12 @@ platform:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: lint
|
||||||
|
image: php:7.2-alpine
|
||||||
|
commands:
|
||||||
|
- curl -L https://cs.symfony.com/download/php-cs-fixer-v2.phar -o php-cs-fixer.phar
|
||||||
|
- php php-cs-fixer.phar fix htdocs --dry-run --using-cache=no --verbose --stop-on-violation
|
||||||
|
- php php-cs-fixer.phar fix onyx2 --dry-run --using-cache=no --verbose --stop-on-violation
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user