Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7b16fc

Browse files
authored
Merge pull request #955 from yatsukhnenko/issue.954
TravisCI: run tests for RedisArray class
2 parents a7456e2 + 279cc5e commit b7b16fc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ php:
55
- 5.4
66
- 5.5
77
- 5.6
8-
services: redis-server
98
before_install: phpize
109
install: ./configure --prefix=/usr && sudo make install
11-
before_script: echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
12-
script: php tests/TestRedis.php
10+
before_script:
11+
- for PORT in 6379 6380 6381 6382; do /usr/bin/redis-server --port $PORT --daemonize yes; done
12+
- echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
13+
script:
14+
- php tests/TestRedis.php --class Redis
15+
- php tests/TestRedis.php --class RedisArray

0 commit comments

Comments
 (0)