1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-19 07:22:17 +03:00
go-redis/Makefile
Vladimir Mihailenco 2d37474474 travis: fix build.
2015-09-28 12:40:31 +03:00

18 lines
393 B
Makefile

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