mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
Godeps, vendor: switch to Go 1.6 vendored dependencies
This commit is contained in:
parent
2d7d7ef2fe
commit
46c6e5ef35
765 changed files with 14 additions and 19 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.4.2
|
- 1.6.2
|
||||||
install:
|
install:
|
||||||
# - go get code.google.com/p/go.tools/cmd/goimports
|
# - go get code.google.com/p/go.tools/cmd/goimports
|
||||||
# - go get github.com/golang/lint/golint
|
# - go get github.com/golang/lint/golint
|
||||||
# - go get golang.org/x/tools/cmd/vet
|
# - go get golang.org/x/tools/cmd/vet
|
||||||
- go get golang.org/x/tools/cmd/cover
|
- go get golang.org/x/tools/cmd/cover
|
||||||
before_script:
|
before_script:
|
||||||
# - gofmt -l -w .
|
# - gofmt -l -w .
|
||||||
|
|
@ -24,6 +24,6 @@ notifications:
|
||||||
webhooks:
|
webhooks:
|
||||||
urls:
|
urls:
|
||||||
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445
|
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445
|
||||||
on_success: change
|
on_success: change
|
||||||
on_failure: always
|
on_failure: always
|
||||||
on_start: false
|
on_start: false
|
||||||
|
|
|
||||||
2
Godeps/Godeps.json
generated
2
Godeps/Godeps.json
generated
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/ethereum/go-ethereum",
|
"ImportPath": "github.com/ethereum/go-ethereum",
|
||||||
"GoVersion": "go1.5.2",
|
"GoVersion": "go1.6.2",
|
||||||
"Packages": [
|
"Packages": [
|
||||||
"./..."
|
"./..."
|
||||||
],
|
],
|
||||||
|
|
|
||||||
5
Godeps/Readme
generated
5
Godeps/Readme
generated
|
|
@ -1,5 +0,0 @@
|
||||||
This directory tree is generated automatically by godep.
|
|
||||||
|
|
||||||
Please do not edit.
|
|
||||||
|
|
||||||
See https://github.com/tools/godep for more information.
|
|
||||||
2
Godeps/_workspace/.gitignore
generated
vendored
2
Godeps/_workspace/.gitignore
generated
vendored
|
|
@ -1,2 +0,0 @@
|
||||||
/pkg
|
|
||||||
/bin
|
|
||||||
6
Makefile
6
Makefile
|
|
@ -103,13 +103,13 @@ evm:
|
||||||
@echo "Run \"$(GOBIN)/evm to start the evm."
|
@echo "Run \"$(GOBIN)/evm to start the evm."
|
||||||
|
|
||||||
all:
|
all:
|
||||||
build/env.sh go install -v $(shell build/flags.sh) ./...
|
build/env.sh go install -v $(shell build/flags.sh) `build/env.sh go list ./... | grep -v /vendor/`
|
||||||
|
|
||||||
test: all
|
test: all
|
||||||
build/env.sh go test ./...
|
build/env.sh go test `build/env.sh go list ./... | grep -v /vendor/`
|
||||||
|
|
||||||
travis-test-with-coverage: all
|
travis-test-with-coverage: all
|
||||||
build/env.sh go vet ./...
|
build/env.sh go vet `build/env.sh go list ./... | grep -v /vendor/`
|
||||||
build/env.sh build/test-global-coverage.sh
|
build/env.sh build/test-global-coverage.sh
|
||||||
|
|
||||||
xgo:
|
xgo:
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,11 @@ fi
|
||||||
|
|
||||||
# Set up the environment to use the workspace.
|
# Set up the environment to use the workspace.
|
||||||
# Also add Godeps workspace so we build using canned dependencies.
|
# Also add Godeps workspace so we build using canned dependencies.
|
||||||
GOPATH="$ethdir/go-ethereum/Godeps/_workspace:$workspace"
|
GOPATH="$workspace"
|
||||||
GOBIN="$PWD/build/bin"
|
GOBIN="$PWD/build/bin"
|
||||||
export GOPATH GOBIN
|
GO15VENDOREXPERIMENT=1
|
||||||
|
|
||||||
|
export GOPATH GOBIN GO15VENDOREXPERIMENT
|
||||||
|
|
||||||
# Run the command inside the workspace.
|
# Run the command inside the workspace.
|
||||||
cd "$ethdir/go-ethereum"
|
cd "$ethdir/go-ethereum"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
set -e
|
set -e
|
||||||
echo "" > coverage.txt
|
echo "" > coverage.txt
|
||||||
|
|
||||||
for d in $(find ./* -maxdepth 10 -type d -not -path "./build" -not -path "./Godeps/*" ); do
|
for d in $(find ./* -maxdepth 10 -type d -not -path "./build" -not -path "./vendor/*" ); do
|
||||||
if ls $d/*.go &> /dev/null; then
|
if ls $d/*.go &> /dev/null; then
|
||||||
go test -coverprofile=profile.out -covermode=atomic $d
|
go test -coverprofile=profile.out -covermode=atomic $d
|
||||||
if [ -f profile.out ]; then
|
if [ -f profile.out ]; then
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ func (n *Node) Start() error {
|
||||||
}
|
}
|
||||||
// Otherwise copy and specialize the P2P configuration
|
// Otherwise copy and specialize the P2P configuration
|
||||||
running := new(p2p.Server)
|
running := new(p2p.Server)
|
||||||
*running = *n.serverConfig
|
reflect.ValueOf(running).Elem().Set(reflect.ValueOf(n.serverConfig).Elem()) // Fancy *running = *n.serverConfig to prevent mutex copy
|
||||||
|
|
||||||
services := make(map[reflect.Type]Service)
|
services := make(map[reflect.Type]Service)
|
||||||
for _, constructor := range n.serviceFuncs {
|
for _, constructor := range n.serviceFuncs {
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue