mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Merge pull request #923
This commit is contained in:
26
.travis.yml
26
.travis.yml
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
8
async-aws/async-aws-bundle/1.0/manifest.json
Normal file
8
async-aws/async-aws-bundle/1.0/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"AsyncAws\\Symfony\\Bundle\\AsyncAwsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user