Permalink
Browse files

Enable builds on Travis-CI.

  • Loading branch information...
1 parent d189d2e commit 86b4c116910dc37c185c03e1dc588feb00baf68b @nrk committed Oct 18, 2013
Showing with 27 additions and 0 deletions.
  1. +26 −0 .travis.yml
  2. +1 −0 phpiredis.ini
View
@@ -0,0 +1,26 @@
+language: php
+php:
+ - 5.3
+ - 5.4
+ - 5.5
+services:
+ - redis-server
+install:
+ - |
+ git clone https://github.com/redis/hiredis.git \
+ && pushd hiredis \
+ && make \
+ && sudo make install \
+ && popd
+ - |
+ git clone https://github.com/nrk/phpiredis.git \
+ && pushd phpiredis \
+ && phpize \
+ && ./configure --enable-phpiredis \
+ && make \
+ && make install \
+ && popd
+ - phpenv config-add phpiredis.ini
+ - composer self-update
+before_script:
+ - composer install
View
@@ -0,0 +1 @@
+extension=phpiredis.so

0 comments on commit 86b4c11

Please sign in to comment.