Skip to content

Commit

Permalink
Adjust requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
o-ba committed Aug 9, 2023
1 parent ccd4ff4 commit 71d0a27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Build/testing-docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,13 @@ services:
php -v | grep '^PHP';
if [ ${TYPO3} -eq 11 ]; then
composer require typo3/cms-core:^11.5 --dev -W --no-progress --no-interaction
composer prepare-tests
elif [ ${TYPO3} -eq 10 ]; then
composer require typo3/cms-core:^10.4 typo3/testing-framework:^6 phpunit/phpunit ^8.4 --dev -W --no-progress --no-interaction
composer prepare-tests-10 && composer prepare-tests
else
composer require typo3/cms-core:^12.4 --dev -W --no-progress --no-interaction
composer prepare-tests
fi
"
Expand Down
11 changes: 7 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,17 @@
"typo3/cms": {
"extension-key": "make",
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web"
"web-dir": ".Build/Web",
"app-dir": ".Build"
}
},
"scripts": {
"post-autoload-dump": [
"TYPO3\\TestingFramework\\Composer\\ExtensionTestEnvironment::prepare",
"prepare-tests-10": [
"TYPO3\\TestingFramework\\Composer\\ExtensionTestEnvironment::prepare"
],
"prepare-tests": [
"if [ ! -e .Build/Web/vendor ]; then cd .Build/Web && ln -s ../vendor && cd -; fi"
]
],
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 71d0a27

Please sign in to comment.