最新版の Redis を wercker で使う
wercker/install_redis.sh
if [ ! -d "$WERCKER_CACHE_DIR/redis" ] then mkdir $WERCKER_CACHE_DIR/redis fi if [ ! -f "$WERCKER_CACHE_DIR/redis/redis-3.0.2.tar.gz" ] then cd $WERCKER_CACHE_DIR/redis wget http://download.redis.io/releases/redis-3.0.2.tar.gz tar zxvf redis-3.0.2.tar.gz cd redis-3.0.2 make sed -r "s#^daemonize no\$#daemonize yes#;" redis.conf > redis.conf.new fi cd $WERCKER_CACHE_DIR/redis/redis-3.0.2 sudo src/redis-server redis.conf.new
wercker.yml
build: steps: - script: name: install redis code: sh wercker/install_redis.sh