1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-31 02:38:45 +01:00
intervention_image/.travis.yml
2017-06-06 18:29:00 +02:00

30 lines
624 B
YAML

language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- nightly
- hhvm
matrix:
allow_failures:
- php: nightly
- php: hhvm
before_install:
- sudo add-apt-repository -y ppa:moti-p/cc
- sudo apt-get clean
- sudo apt-get update
- sudo apt-get -y --reinstall install imagemagick
- yes | pecl install imagick-beta
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.4" ]]; then echo "extension = imagick.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: vendor/bin/phpunit