forked from mmoreram/RSQueueBundle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
32 lines (26 loc) · 804 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
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 5.5
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=weak
- php: 5.6
env: SYMFONY_VERSION='2.7.*'
- php: 5.6
env: SYMFONY_VERSION='2.8.*'
before_install:
- composer self-update
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi
- git clone git://github.com/nicolasff/phpredis.git
- cd phpredis && phpize && ./configure && make && sudo make install && cd ..
- echo "extension=redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
install: composer update $COMPOSER_FLAGS
script: phpunit