Merge pull request #923

This commit is contained in:
symfony-flex-server[bot]
2020-08-19 18:48:47 +00:00
committed by GitHub
3 changed files with 38 additions and 2 deletions

View File

@@ -14,6 +14,9 @@ matrix:
env: SKELETON_VERSION="^4.4"
- php: 7.4
env: SKELETON_VERSION="^5.0"
allow_failures:
- php: 7.4
env: SKELETON_VERSION="^3.4"
before_install:
- phpenv config-rm xdebug.ini || true
@@ -26,5 +29,24 @@ install:
- cd flex
- composer config extra.symfony.allow-contrib true
script:
- composer req --ignore-platform-reqs $(echo $PACKAGES)
before_script:
- |
install_package() {
composer require --ignore-platform-reqs $@;
EXIT_CODE=$?;
MESSAGE="";
if [[ EXIT_CODE -eq 0 ]]; then
exit 0;
elif [[ EXIT_CODE -eq 1 ]]; then
MESSAGE="Could not install package and configure package.";
elif [[ EXIT_CODE -eq 2 ]]; then
MESSAGE="Could not resolve dependencies.\n# You can ignore this error if your package does not support Symfony $SKELETON_VERSION";
fi
echo -e "\n#\n#\n# $MESSAGE\n#\n#\n#\n";
exit $EXIT_CODE;
}
export -f install_package
script: install_package $(echo $PACKAGES)

View File

@@ -0,0 +1,6 @@
# Read documentation at https://async-aws.com/integration/symfony-bundle.html
async_aws:
config:
# All installed clients are automatically autowired. Use this section to customize clients
clients:

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"AsyncAws\\Symfony\\Bundle\\AsyncAwsBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}