From 04efbb9a5526d71ed7dcd30b04983f9753db7821 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Fri, 7 Nov 2014 16:33:53 -0800 Subject: [PATCH] test: install random locally for travis. --- test/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Makefile b/test/Makefile index 1b89b405e..85be73662 100644 --- a/test/Makefile +++ b/test/Makefile @@ -5,7 +5,6 @@ # T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)) -RANDOM=${GOPATH}/bin/random all: clean deps $(T) aggregate @@ -21,7 +20,7 @@ aggregate: @echo "*** $@ ***" ./test-aggregate-results.sh -deps: ipfs sharness.sh ${RANDOM} +deps: ipfs sharness.sh random # phony to ensure we re-build it every time we run tests ipfs: @@ -34,7 +33,8 @@ sharness.sh: .PHONY: all clean $(T) aggregate ipfs -${RANDOM}: +random: @echo "*** installing $@ ***" go get github.com/jbenet/go-random/random go install github.com/jbenet/go-random/random + cp `which random` random