mcst/.woodpecker.yml
Gregory Ballantine 205ad74a51
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Added PHPCS and PHPMD config; added CI config
2022-10-14 12:15:14 -04:00

38 lines
788 B
YAML

pipeline:
setup:
image: composer:2.4
commands:
- composer install
- mkdir test
- touch test/results.txt
phpcs:
group: test
image: composer:2.4
commands:
- composer run-script phpcs >> test/results.txt
phpmd:
group: test
image: composer:2.4
commands:
- composer run-script phpmd >> test/results.txt
notify:
image: drillster/drone-email
host: smtp.int.metaunix.net
skip_verify: true
from: drone@ci-v1.int.metaunix.net
attachment: test/results.txt
when:
status: [ failure ]
gitea_release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.metaunix.net
title: "${CI_COMMIT_TAG}"
when:
event: tag