Fixed travis tests on PHP 5.5 by installing imagick manually (#148)
This commit is contained in:
parent
395e9c7fae
commit
92688ab18a
10
.travis.yml
10
.travis.yml
@ -19,6 +19,16 @@ cache:
|
|||||||
install:
|
install:
|
||||||
- travis_retry composer self-update && composer --version
|
- travis_retry composer self-update && composer --version
|
||||||
- travis_retry composer update --dev --prefer-dist --no-interaction
|
- travis_retry composer update --dev --prefer-dist --no-interaction
|
||||||
|
# install php extensions
|
||||||
|
- |
|
||||||
|
if (php --version | grep -i HipHop > /dev/null); then
|
||||||
|
echo "Skipping imagick and gmagick tests on HHVM"
|
||||||
|
else
|
||||||
|
pear config-set preferred_state beta
|
||||||
|
printf "\n" | pecl install imagick
|
||||||
|
# gmagick is not installed on travis currently
|
||||||
|
#printf "\n" | pecl install gmagick
|
||||||
|
fi
|
||||||
# setup application:
|
# setup application:
|
||||||
- |
|
- |
|
||||||
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
|
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
|
||||||
|
Loading…
Reference in New Issue
Block a user