Update travis deps script

This commit is contained in:
Taylor Gerring 2014-11-15 19:11:43 -06:00
parent 6dbd7a9a80
commit 790ded0f47
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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