Update travis config (#1117)

This commit is contained in:
Guilhem N 2017-11-27 14:40:22 +01:00 committed by GitHub
parent 2b15539cc3
commit 8a023a1897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,7 @@ before_install:
- phpenv config-rm xdebug.ini
- if [ "$SF_4" == "true" ]; then composer config minimum-stability dev; fi
- if [ "$SF_4" == "true" ]; then composer require symfony/symfony:4.0.* --dev --no-update; fi
- if [ "$SF_4" == "true" ]; then composer require friendsofsymfony/rest-bundle:dev-master --dev --no-update; fi
- if [ "$SF_4" == "true" ]; then composer require jms/serializer-bundle:dev-master --dev --no-update; fi
install: composer update $COMPOSER_FLAGS --prefer-stable

View File

@ -22,6 +22,9 @@
"zircote/swagger-php": "^2.0.9"
},
"require-dev": {
"symfony/yaml": "Temporary: see https://github.com/symfony/symfony/pull/24634/files#r153192689",
"symfony/yaml": "^2.8|^3.0|^4.0",
"symfony/templating": "^2.8|^3.0|^4.0",
"symfony/twig-bundle": "^3.0|^4.0",
"symfony/asset": "^2.8|^3.0|^4.0",

View File

@ -8,6 +8,7 @@
bootstrap="vendor/autoload.php"
>
<php>
<env name="SHELL_VERBOSITY" value="-1" />
<ini name="error_reporting" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak_vendors" />
</php>