Permalink
Browse files

Install memcache by hand

  • Loading branch information...
fabian committed Nov 17, 2011
1 parent bada4b6 commit 68324dc7d7e18f8ab9a6f8af39aa9c2b5baaf62c
Showing with 7 additions and 1 deletion.
  1. +1 −1 .travis.yml
  2. +6 −0 test/bin/install_php_memcache.sh
View
@@ -1,7 +1,7 @@
language: php
before_script:
- - sudo pecl install memcache
+ - ./test/bin/install_php_memcache.sh
- ./test/bin/run_elasticsearch.sh
script: phpunit -c test/
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+wget http://pecl.php.net/get/memcache-2.2.6.tgz
+tar -xzf memcache-2.2.6.tgz
+sh -c "cd memcache-2.2.6 && php `pyrus get php_dir|tail -1`/pake.php install"
+echo "extension=memcache.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

0 comments on commit 68324dc

Please sign in to comment.