Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d90b02 commit 5cc64feCopy full SHA for 5cc64fe
.travis.yml
@@ -1,8 +1,11 @@
1
sudo: required
2
language: php
3
php: 7.0
4
-services: redis-server
5
before_install: phpize
6
install: ./configure --prefix=/usr && sudo make install
7
-before_script: echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
8
-script: php tests/TestRedis.php
+before_script:
+ - for PORT in 6379 6380 6381 6382; do /usr/bin/redis-server --port $PORT --daemonize yes; done
+ - echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
9
+script:
10
+ - php tests/TestRedis.php --class Redis
11
+ - php tests/TestRedis.php --class RedisArray
0 commit comments