diff --git a/.travis.yml b/.travis.yml index 83b51a1..c8f0fb3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,20 +10,29 @@ cache: directories: - $HOME/.composer/cache -php: - - 7.1 - - 7.2 - matrix: fast_finish: true - allow_failures: + include: + - php: 7.1 + env: 'IMAGEMAGICK_SOURCE="ImageMagick-6.9.9-33"' + - php: 7.1 + env: 'IMAGEMAGICK_SOURCE="ImageMagick-7.0.7-21"' + - php: 7.2 + env: 'IMAGEMAGICK_SOURCE="ImageMagick-6.9.9-33"' - php: 7.2 + env: 'IMAGEMAGICK_SOURCE="ImageMagick-7.0.7-21"' before_install: - composer self-update + - curl https://www.imagemagick.org/download/$IMAGEMAGICK_SOURCE.tar.gz | tar xz + - cd $IMAGEMAGICK_SOURCE + - ./configure + - make + - sudo make install install: - - composer install + - cd .. + - composer install --no-interaction - composer require --dev satooshi/php-coveralls:~0.6 script: