Attempting to get imagemagick support with php

This commit is contained in:
Jonny Barnes 2017-09-16 12:01:05 +01:00
parent 39ffb2c225
commit aff5ac2ad1

View file

@ -16,6 +16,7 @@ addons:
- nginx - nginx
- realpath - realpath
- postgresql-9.6-postgis-2.3 - postgresql-9.6-postgis-2.3
- imagemagick
artifacts: artifacts:
s3_region: "eu-west-1" s3_region: "eu-west-1"
paths: paths:
@ -36,6 +37,7 @@ php:
- 7.2 - 7.2
before_install: before_install:
- printf "\n" | pecl install imagick
- cp .env.travis .env - cp .env.travis .env
- echo 'error_log = "/tmp/php.error.log"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - echo 'error_log = "/tmp/php.error.log"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- psql -U travis -c 'create database travis_ci_test' - psql -U travis -c 'create database travis_ci_test'