Commit b130e2a7 authored by Jeromy's avatar Jeromy
Browse files

fix import and update travis scripts

parent c859385c
......@@ -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
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
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment