forked from php-imagine/Imagine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (39 loc) · 871 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
47
sudo: true
language: php
cache:
directories:
- $HOME/.composer/cache
- cache
env:
- IMAGINE_DRIVER=imagick
- IMAGINE_DRIVER=gmagick
before_install:
- phpenv config-rm xdebug.ini || true
install:
- sudo apt-get remove -y imagemagick libmagickcore-dev libmagickwand-dev
- sudo apt-get install -y libtiff-dev libjpeg-dev libdjvulibre-dev libwmf-dev pkg-config liblcms2-dev
- if [[ $IMAGINE_DRIVER = imagick ]]; then ./.travis/imagick.sh; fi
- if [[ $IMAGINE_DRIVER = gmagick ]]; then ./.travis/gmagick.sh; fi
- composer install
script:
- ./bin/simple-phpunit
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
matrix:
allow_failures:
- php: nightly
include:
- php: 5.3
dist: precise
env:
- IMAGINE_DRIVER=imagick
- php: 5.3
dist: precise
env:
- IMAGINE_DRIVER=gmagick