Merge branch 'feature/drone-ci-tests' into feature/drone-ci-tests-develop
This commit is contained in:
commit
6beb9f1997
3 changed files with 43 additions and 0 deletions
29
.woodpecker/Build/composer.json
Normal file
29
.woodpecker/Build/composer.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "digicomp/settingvalidator-distribution",
|
||||
"description": "SettingValidator Distribution",
|
||||
"config": {
|
||||
"vendor-dir": "Packages/Libraries",
|
||||
"bin-dir": "bin",
|
||||
"platform": {
|
||||
"php": "7.4.0"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"digicomp/settingvalidator": "*@dev",
|
||||
"php": "~7.4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"neos/buildessentials": "^5.3",
|
||||
"phpunit/phpunit": "~8.1",
|
||||
"mikey179/vfsstream": "~1.6"
|
||||
},
|
||||
"repositories": [
|
||||
{ "type": "path", "url": "../../../src" }
|
||||
],
|
||||
"scripts": {
|
||||
"post-update-cmd": "Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
|
||||
"post-install-cmd": "Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
|
||||
"post-package-update": "Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall",
|
||||
"post-package-install": "Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall"
|
||||
}
|
||||
}
|
7
.woodpecker/code-style.yml
Normal file
7
.woodpecker/code-style.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
pipeline:
|
||||
code-style:
|
||||
image: composer
|
||||
commands:
|
||||
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
|
||||
- composer global require digicomp/php-codesniffer:@dev
|
||||
- composer global exec -- phpcs --runtime-set ignore_warnings_on_exit 1 --standard=DigiComp Classes/ Migrations/ Tests/ Resources/Private/
|
7
.woodpecker/test.yml
Normal file
7
.woodpecker/test.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: composer
|
||||
commands:
|
||||
- cd .woodpecker/Build
|
||||
- composer install
|
||||
- bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.SettingValidator/Tests/Functional
|
Loading…
Reference in a new issue