mirror of https://github.com/status-im/op-geth.git
Update travis deps script
This commit is contained in:
parent
6dbd7a9a80
commit
790ded0f47
|
@ -3,8 +3,6 @@ before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -yqq libgmp3-dev qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev libreadline6-dev
|
- sudo apt-get install -yqq libgmp3-dev qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev libreadline6-dev
|
||||||
install:
|
install:
|
||||||
- go get github.com/jackpal/go-nat-pmp
|
|
||||||
- go get code.google.com/p/go.net/websocket
|
|
||||||
- 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 code.google.com/p/go.tools/cmd/vet
|
- go get code.google.com/p/go.tools/cmd/vet
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
TEST_DEPS=$(go list -f '{{.TestImports}} {{.XTestImports}}' github.com/ethereum/go-ethereum/... | sed -e 's/\[//g' | sed -e 's/\]//g')
|
TEST_DEPS=$(go list -f '{{.Imports}} {{.TestImports}} {{.XTestImports}}' github.com/ethereum/go-ethereum/... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g')
|
||||||
if [ "$TEST_DEPS" ]; then
|
if [ "$TEST_DEPS" ]; then
|
||||||
go get -race $TEST_DEPS
|
go get -race $TEST_DEPS
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue