Skip to content

Commit 08e799b

Browse files
committed
Symfony 2.7 calls its own deprecated methods, raising warnings that break the build if we treat deprecated as an error
1 parent 385ba07 commit 08e799b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ matrix:
3535

3636
before_script:
3737
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
38+
# E_ALL & ~E_DEPRECATED is 24575
39+
- sh -c 'FLAWED_DEPRECATIONS=`echo "$SYMFONY_VERSION >= 2.7"|bc`; if [ $FLAWED_DEPRECATIONS = 1 ]; then echo "error_reporting = 24575" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;'
3840
- sh -c 'if [ "$FRAMEWORK_EXTRA_VERSION" != "" ]; then composer require --dev --no-update sensio/framework-extra-bundle=$FRAMEWORK_EXTRA_VERSION; fi;'
3941
- composer install
4042
- sudo apt-get install python-sphinx

0 commit comments

Comments
 (0)