Skip to content

Commit

Permalink
Install memcache by hand
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Nov 17, 2011
1 parent bada4b6 commit 68324dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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/
6 changes: 6 additions & 0 deletions test/bin/install_php_memcache.sh
Original file line number Diff line number Diff line change
@@ -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.