|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: install
|
|
pull: if-not-exists
|
|
image: composer
|
|
commands:
|
|
- composer install --ignore-platform-reqs
|
|
- name: test
|
|
image: php:7
|
|
commands:
|
|
- vendor/bin/phpmd app text phpmd.xml
|
|
- vendor/bin/phpcs --standard=PSR2 app
|
|
- vendor/bin/phpcpd app |