1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Add Redis Cluster support.

This commit is contained in:
Dimitrij Denissenko
2015-01-24 12:12:48 +00:00
committed by Vladimir Mihailenco
parent 78cf6f5eae
commit c21e5f3255
19 changed files with 1262 additions and 325 deletions

View File

@ -1,4 +1,17 @@
all:
go test ./...
go test ./... -cpu=2
go test ./... -short -race
all: testdeps
go test ./... -v 1 -ginkgo.slowSpecThreshold=10 -cpu=1,2,4
go test ./... -ginkgo.slowSpecThreshold=10 -short -race
test: testdeps
go test ./... -v 1 -ginkgo.slowSpecThreshold=10
testdeps: .test/redis/src/redis-server
.PHONY: all test testdeps
.test/redis:
mkdir -p $@
wget -qO- https://github.com/antirez/redis/archive/3.0.tar.gz | tar xvz --strip-components=1 -C $@
.test/redis/src/redis-server: .test/redis
cd $< && make all