Update travis deps script

pull/199/head
Taylor Gerring 10 years ago
parent 6dbd7a9a80
commit 790ded0f47
  1. 2
      .travis.yml
  2. 2
      travis.sh

@ -3,8 +3,6 @@ before_install:
- sudo apt-get update -qq
- sudo apt-get install -yqq libgmp3-dev qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev libreadline6-dev
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 github.com/golang/lint/golint
- go get code.google.com/p/go.tools/cmd/vet

@ -2,7 +2,7 @@
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
go get -race $TEST_DEPS
fi

Loading…
Cancel
Save