forked from romainneutron/Imagine-Silex-Service-Provider
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
22 lines (20 loc) · 853 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
language: php
before_script:
- sudo apt-get update
- sudo apt-get install -y -qq graphicsmagick libgraphicsmagick1-dev
- sudo apt-get clean
- composer self-update
- composer install --dev --prefer-source
- wget http://pecl.php.net/get/imagick-3.1.0RC2.tgz
- tar -xzf imagick-3.1.0RC2.tgz
- sh -c "cd imagick-3.1.0RC2 && phpize && ./configure --with-imagick=/usr/local && make && sudo make install"
- echo "extension=imagick.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- wget http://pecl.php.net/get/gmagick-1.1.0RC2.tgz
- tar -xzf gmagick-1.1.0RC2.tgz
- sh -c "cd gmagick-1.1.0RC2 && phpize && ./configure --with-gmagick=/usr/local && make && sudo make install"
- echo "extension=gmagick.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
php:
- 5.3.3
- 5.3
- 5.4
- 5.5