Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
b130e2a7
Commit
b130e2a7
authored
Oct 05, 2016
by
Jeromy
Browse files
fix import and update travis scripts
parent
c859385c
Changes
3
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
b130e2a7
...
...
@@ -7,16 +7,18 @@ language: go
go
:
-
1.7
env
:
-
GO15VENDOREXPERIMENT=1
install
:
true
script
:
before_install
:
-
make deps
-
gx-go rewrite
-
go test ./p2p/...
#- go vet ./...
script
:
-
$GOPATH/bin/goveralls ./... -service="travis-ci"
cache
:
directories
:
-
$GOPATH/src/gx
notifications
:
email
:
false
Makefile
View file @
b130e2a7
export
IPFS_API
?=
v04x.ipfs.io
gx
:
go get
-u
github.com/whyrusleeping/gx
go get
-u
github.com/whyrusleeping/gx-go
go get github.com/whyrusleeping/gx
go get github.com/whyrusleeping/gx-go
covertools
:
go get github.com/mattn/goveralls
go get golang.org/x/tools/cmd/cover
deps
:
gx
deps
:
gx
covertools
gx
--verbose
install
--global
gx-go rewrite
publish
:
gx-go rewrite
--undo
p2p/protocol/relay/relay.go
View file @
b130e2a7
...
...
@@ -9,10 +9,10 @@ import (
host
"github.com/libp2p/go-libp2p-host"
logging
"github.com/ipfs/go-log"
mh
"github.com/jbenet/go-multihash"
inet
"github.com/libp2p/go-libp2p-net"
peer
"github.com/libp2p/go-libp2p-peer"
protocol
"github.com/libp2p/go-libp2p-protocol"
mh
"github.com/multiformats/go-multihash"
)
var
log
=
logging
.
Logger
(
"protocol/relay"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment