diff --git a/.travis.yml b/.travis.yml index 37bf3b5e..76b43896 100644 --- a/.travis.yml +++ b/.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) diff --git a/async-aws/async-aws-bundle/1.0/config/packages/async_aws.yaml b/async-aws/async-aws-bundle/1.0/config/packages/async_aws.yaml new file mode 100644 index 00000000..a421c703 --- /dev/null +++ b/async-aws/async-aws-bundle/1.0/config/packages/async_aws.yaml @@ -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: diff --git a/async-aws/async-aws-bundle/1.0/manifest.json b/async-aws/async-aws-bundle/1.0/manifest.json new file mode 100644 index 00000000..f7acf1e8 --- /dev/null +++ b/async-aws/async-aws-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "AsyncAws\\Symfony\\Bundle\\AsyncAwsBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}