language: php

php:
  - 7.0
  - 7.1

before_script:
  - sudo add-apt-repository -y ppa:mwhiteley/imagemagick-webp
  - sudo apt-get update
  - sudo apt-get -y --force-yes --reinstall install imagemagick
  - printf "\n" | pecl install imagick-beta
  - travis_retry composer self-update --preview
  - travis_retry composer install --prefer-dist --no-interaction

script:
  - bin/phpunit --coverage-clover=coverage.xml

after_success:
  - bash <(curl -s https://codecov.io/bash)

language: php

php:
  - 7.0
  - 7.1

before_script:
  - sudo add-apt-repository -y ppa:researchgate/imagemagick
  - sudo apt-get update
  - sudo apt-get -y --force-yes --reinstall install imagemagick
  - printf "\n" | pecl install imagick-beta
  - travis_retry composer self-update --preview
  - travis_retry composer install --prefer-dist --no-interaction

script:
  - bin/phpunit --coverage-clover=coverage.xml

after_success:
  - bash <(curl -s https://codecov.io/bash)

Install a newer version of ImageMagick for Travis
Install a newer version of ImageMagick for Travis
