Compare commits
12 commits
09f6aa089b
...
6986cef7c3
Author | SHA1 | Date | |
---|---|---|---|
6986cef7c3 | |||
b9751485fb | |||
cd51f5812d | |||
f63e921033 | |||
55e688d04d | |||
409875ecda | |||
d8f1b81bd3 | |||
bcc054927c | |||
bf7f11a009 | |||
d4ffe3a18e | |||
a213057567 | |||
1e7a319604 |
3 changed files with 14 additions and 5 deletions
|
@ -3,5 +3,6 @@ pipeline:
|
|||
image: composer
|
||||
commands:
|
||||
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
|
||||
- composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
|
||||
- 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/
|
||||
|
|
|
@ -3,12 +3,19 @@ workspace:
|
|||
path: package
|
||||
|
||||
matrix:
|
||||
FLOW_VERSION:
|
||||
- 6.3
|
||||
include:
|
||||
- FLOW_VERSION: 6.3
|
||||
PHP_VERSION: 7.4
|
||||
- FLOW_VERSION: 7.3
|
||||
PHP_VERSION: 7.4
|
||||
- FLOW_VERSION: 7.3
|
||||
PHP_VERSION: 8.2
|
||||
- FLOW_VERSION: 8.2
|
||||
PHP_VERSION: 8.2
|
||||
|
||||
pipeline:
|
||||
functional-tests:
|
||||
image: thecodingmachine/php:7.4-v4-cli
|
||||
image: "thecodingmachine/php:${PHP_VERSION}-v4-cli"
|
||||
environment:
|
||||
# Enable the PDO_SQLITE extension
|
||||
- "PHP_EXTENSION_PDO_SQLITE=1"
|
||||
|
@ -20,6 +27,7 @@ pipeline:
|
|||
- "cd $NEOS_BUILD_DIR"
|
||||
- "composer create-project --no-install neos/flow-base-distribution:^$FLOW_VERSION ."
|
||||
- "composer config repositories.repo-name path /woodpecker/package"
|
||||
- "composer remove --dev neos/behat"
|
||||
# flow marked behat as a no dev dependency (but only in Flow 7.3) (PR already created)
|
||||
- "composer remove --dev neos/behat --no-update || composer remove neos/behat --no-update"
|
||||
- "composer require digicomp/settingvalidator:@dev"
|
||||
- "bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.SettingValidator/Tests/Functional"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"description": "Just a Neos\\Flow Validator resolving other Validators with Configuration/Validation.yaml",
|
||||
"type": "neos-package",
|
||||
"require": {
|
||||
"neos/flow": "^6.3.5",
|
||||
"neos/flow": "^6.3.5 | ^7.3.9 | ^8.2.0",
|
||||
"php": ">=7.4"
|
||||
},
|
||||
"require-dev": {
|
||||
|
|
Loading…
Add table
Reference in a new issue