forked from spatie/pdf-to-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 905 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
include:
- php: 5.5
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
- php: 5.6
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
- php: 7.0
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
- php: hhvm
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
allow_failures:
- php: hhvm
before_install:
sudo add-apt-repository -y ppa:moti-p/cc
sudo apt-get update
sudo apt-get -y --reinstall install imagemagick
printf "\n" | pecl install imagick-beta
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
script:
- phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover