File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,15 @@ matrix:
33
33
- SYMFONY_VERSION='2.7.*@dev'
34
34
- FRAMEWORK_EXTRA_VERSION='~3.0'
35
35
36
+ before_install :
37
+ - sudo 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
+ - bash -c 'echo "${SYMFONY_VERSION:0:3} >= 2.7"'
42
+ - bash -c 'echo "${SYMFONY_VERSION:0:3} >= 2.7"|bc'
43
+ - bash -c 'FLAWED_DEPRECATIONS=`echo "${SYMFONY_VERSION:0:3} >= 2.7"|bc`; echo $FLAWED_DEPRECATIONS'
44
+ - bash -c 'FLAWED_DEPRECATIONS=`echo "${SYMFONY_VERSION:0:3} >= 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
45
- sh -c 'if [ "$FRAMEWORK_EXTRA_VERSION" != "" ]; then composer require --dev --no-update sensio/framework-extra-bundle=$FRAMEWORK_EXTRA_VERSION; fi;'
39
46
- composer install
40
47
- sudo apt-get install python-sphinx
You can’t perform that action at this time.
0 commit comments