language: php

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2

before_script:
  - mkdir -p build/logs
  - composer self-update
  - composer install --prefer-source --no-interaction --dev

script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v

after_success:
  - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php vendor/bin/coveralls -v; fi;'
language: php

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2

before_script:
  - printf "\n" | pecl install imagick
  - mkdir -p build/logs
  - composer self-update
  - composer install --prefer-source --no-interaction --dev

script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v

after_success:
  - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php vendor/bin/coveralls -v; fi;'
Install imagick to Travis CI
Install imagick to Travis CI
