Adding Flow 4.3 build
This commit is contained in:
parent
25d5a3c21f
commit
a5bccc2d47
1 changed files with 23 additions and 2 deletions
|
@ -4,7 +4,7 @@ workspace:
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
NEOS_VERSION:
|
NEOS_VERSION:
|
||||||
# - 4.3 not possible, because 4.3 does not run work with composer 2 - we had to install an older version of composer, too
|
- 4.3
|
||||||
- 5.3
|
- 5.3
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
|
@ -14,13 +14,34 @@ pipeline:
|
||||||
# Enable the PDO_SQLITE extension
|
# Enable the PDO_SQLITE extension
|
||||||
- "PHP_EXTENSION_PDO_SQLITE=1"
|
- "PHP_EXTENSION_PDO_SQLITE=1"
|
||||||
- "NEOS_VERSION=${NEOS_VERSION}"
|
- "NEOS_VERSION=${NEOS_VERSION}"
|
||||||
- "NEOS_BUILD_DIR=/woodpecker/Build-$NEOS_VERSION"
|
- "NEOS_BUILD_DIR=/woodpecker/Build-${NEOS_VERSION}"
|
||||||
commands:
|
commands:
|
||||||
- "sudo mkdir $NEOS_BUILD_DIR"
|
- "sudo mkdir $NEOS_BUILD_DIR"
|
||||||
- "sudo chown -R docker:docker $NEOS_BUILD_DIR"
|
- "sudo chown -R docker:docker $NEOS_BUILD_DIR"
|
||||||
- "cd $NEOS_BUILD_DIR"
|
- "cd $NEOS_BUILD_DIR"
|
||||||
|
- "if [ \"$NEOS_VERSION\" = \"4.3\" ]; then sudo composer self-update --1; fi"
|
||||||
- "composer create-project --no-install neos/flow-base-distribution:^$NEOS_VERSION ."
|
- "composer create-project --no-install neos/flow-base-distribution:^$NEOS_VERSION ."
|
||||||
- "composer config repositories.repo-name path /woodpecker/package"
|
- "composer config repositories.repo-name path /woodpecker/package"
|
||||||
- "composer remove --dev neos/behat"
|
- "composer remove --dev neos/behat"
|
||||||
|
- "if [ \"$NEOS_VERSION\" = \"4.3\" ]; then composer require typo3fluid/fluid:2.4.3; fi"
|
||||||
- "composer require digicomp/settingvalidator:@dev"
|
- "composer require digicomp/settingvalidator:@dev"
|
||||||
|
- |
|
||||||
|
if [ "$NEOS_VERSION" = "4.3" ]; then
|
||||||
|
echo 'Neos:
|
||||||
|
Flow:
|
||||||
|
persistence:
|
||||||
|
backendOptions:
|
||||||
|
dbname: "flow_functional_testing"
|
||||||
|
error:
|
||||||
|
errorHandler:
|
||||||
|
exceptionalErrors:
|
||||||
|
0: "%E_USER_ERROR%"
|
||||||
|
1: "%E_RECOVERABLE_ERROR%"
|
||||||
|
2: ~
|
||||||
|
3: "%E_NOTICE%"
|
||||||
|
4: "%E_USER_WARNING%"
|
||||||
|
5: "%E_USER_NOTICE%"
|
||||||
|
6: "%E_STRICT%"' > Configuration/Testing/Settings.yaml
|
||||||
|
fi
|
||||||
|
- "cat Configuration/Testing/Settings.yaml"
|
||||||
- "bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.SettingValidator/Tests/Functional"
|
- "bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.SettingValidator/Tests/Functional"
|
||||||
|
|
Loading…
Reference in a new issue