From c8eb5a4bf18354d0fda5c7786654df2fd6b7b922 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Tue, 16 Feb 2016 16:13:58 -0800 Subject: [PATCH 1/2] make travis install gx deps --- .travis.yml | 1 + Makefile | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 Makefile diff --git a/.travis.yml b/.travis.yml index 931c1cfd2e..6a94966085 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,5 @@ env: install: true script: + - make deps - go test ./p2p/... diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..416a93c0ff --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +gx: + go get -u github.com/whyrusleeping/gx + go get -u github.com/whyrusleeping/gx-go + +deps: gx + gx --verbose install --global From 98c7ca0d86a5833c7bb468ae71555c5190f18bdc Mon Sep 17 00:00:00 2001 From: Jeromy Date: Tue, 16 Feb 2016 17:02:00 -0800 Subject: [PATCH 2/2] finish deps rewrite --- p2p/peer/queue/distance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/peer/queue/distance.go b/p2p/peer/queue/distance.go index 09da0cb88a..337a752978 100644 --- a/p2p/peer/queue/distance.go +++ b/p2p/peer/queue/distance.go @@ -6,7 +6,7 @@ import ( "sync" peer "github.com/ipfs/go-libp2p/p2p/peer" - ks "github.com/whyrusleeping/go-keyspace" + ks "gx/ipfs/QmUusaX99BZoELh7dmPgirqRQ1FAmMnmnBn3oiqDFGBUSc/go-keyspace" ) // peerMetric tracks a peer and its distance to something else.