mirror of
https://github.com/Intervention/image.git
synced 2025-01-16 19:58:14 +01:00
Merge pull request #750 from dhensby/pulls/travisfix
Get travis working
This commit is contained in:
commit
17089e2a52
17
.travis.yml
17
.travis.yml
@ -1,5 +1,9 @@
|
||||
language: php
|
||||
|
||||
sudo: false
|
||||
|
||||
dist: trusty
|
||||
|
||||
php:
|
||||
- 5.4
|
||||
- 5.5
|
||||
@ -14,16 +18,9 @@ matrix:
|
||||
- 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
|
||||
- printf "\n" | pecl install imagick
|
||||
- composer self-update || true
|
||||
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader
|
||||
|
||||
script: vendor/bin/phpunit
|
||||
|
@ -17,7 +17,7 @@
|
||||
"guzzlehttp/psr7": "~1.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "3.*",
|
||||
"phpunit/phpunit": "^4.8 || ^5.7",
|
||||
"mockery/mockery": "~0.9.2"
|
||||
},
|
||||
"suggest": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user