File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,12 @@ matrix:
33
33
- SYMFONY_VERSION='2.7.*@dev'
34
34
- FRAMEWORK_EXTRA_VERSION='~3.0'
35
35
36
+ before_install :
37
+ apt-get install -qq bc
38
+
36
39
before_script :
37
40
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
41
+ - sh -c 'FLAWED_DEPRECATIONS=`echo "$SYMFONY_VERSION >= 2.7"|bc`; if [ $FLAWED_DEPRECATIONS = 1 ]; then echo "error_reporting = E_ALL & ~E_DEPRECATED" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;'
38
42
- sh -c 'if [ "$FRAMEWORK_EXTRA_VERSION" != "" ]; then composer require --dev --no-update sensio/framework-extra-bundle=$FRAMEWORK_EXTRA_VERSION; fi;'
39
43
- composer install
40
44
- sudo apt-get install python-sphinx
You can’t perform that action at this time.
0 commit comments