-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
46 lines (38 loc) · 859 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
37
38
39
40
41
42
43
44
45
46
language: php
sudo: required
branches:
only:
- main
cache:
directories:
- '$HOME/.composer/cache'
addons:
apt:
packages:
- libjpeg-dev
- libpng-dev
- libgif-dev
php:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
before_install: |
composer self-update
curl -L "https://imagemagick.org/download/ImageMagick.tar.gz" | tar xz
cd ImageMagick-*
./configure
make
sudo make install
sudo ldconfig /usr/local/lib
which magick
find /usr/local -iname "*magick*"
cd ..
mkdir -p build/logs
install:
- composer install --no-interaction
- composer require --dev satooshi/php-coveralls:~0.6
script:
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
after_success:
- travis_retry php vendor/bin/coveralls -v