Skip to content

Commit

Permalink
Enable memcached.so
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Oct 31, 2013
1 parent ac91c59 commit 7ae941d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ services:
before_install:
- ./unit-tests/ci/install_prereqs.sh
- ./unit-tests/ci/setup_dbs.sh
- sudo apt-get -qq update
- sudo apt-get -qq install valgrind

before_script:
Expand Down
3 changes: 3 additions & 0 deletions unit-tests/ci/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

DIR=$(readlink -enq $(dirname $0))

sudo apt-get -qq update &

if [ "$(php -r 'echo substr(PHP_VERSION, 0, 3);')" = "5.5" ]; then
( pecl install apcu < /dev/null || ( pecl config-set preferred_state beta; pecl install apcu < /dev/null ) && phpenv config-add "$DIR/apcu.ini" ) &
else
Expand All @@ -13,5 +15,6 @@ CFLAGS="-O1 -g3 -fno-strict-aliasing" pecl install imagick < /dev/null &
# CFLAGS="-O2 -g3 -fno-strict-aliasing" pecl upgrade mongo < /dev/null &

phpenv config-add "$DIR/memcache.ini"
phpenv config-add "$DIR/memcached.ini"
phpenv config-rm xdebug.ini
wait
1 change: 1 addition & 0 deletions unit-tests/ci/memcached.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extension=memcached.so

0 comments on commit 7ae941d

Please sign in to comment.