aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2014-11-16 08:42:48 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2014-11-16 08:42:48 +0800
commitec75119341167b0b7924911d9ceeba1295b21f04 (patch)
tree2f84445a18f7569c7e033af9612d0f2ddac72032
parent0b64906a729830a22174817c89aedf5af9f61b8d (diff)
downloadgo-tangerine-ec75119341167b0b7924911d9ceeba1295b21f04.tar
go-tangerine-ec75119341167b0b7924911d9ceeba1295b21f04.tar.gz
go-tangerine-ec75119341167b0b7924911d9ceeba1295b21f04.tar.bz2
go-tangerine-ec75119341167b0b7924911d9ceeba1295b21f04.tar.lz
go-tangerine-ec75119341167b0b7924911d9ceeba1295b21f04.tar.xz
go-tangerine-ec75119341167b0b7924911d9ceeba1295b21f04.tar.zst
go-tangerine-ec75119341167b0b7924911d9ceeba1295b21f04.zip
Update deps script
-rw-r--r--travis.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/travis.sh b/travis.sh
index 3804761f7..7de52bc3e 100644
--- a/travis.sh
+++ b/travis.sh
@@ -1,21 +1,8 @@
#!/bin/bash
set -e
-REPO_DIR=$PWD
-GITHUB_REPO=$(basename $PWD)
-GITHUB_USER=$(basename $(cd .. && pwd))
-export GOPATH=/tmp/$GITHUB_USER/$GITHUB_REPO.$PPID
-mkdir -p $GOPATH/src/github.com/$GITHUB_USER
-cp -r $REPO_DIR $GOPATH/src/github.com/$GITHUB_USER/$GITHUB_REPO
-echo Fetching package dependicies
-go get -race github.com/$GITHUB_USER/$GITHUB_REPO/...
-echo Fetching test dependicies
-TEST_DEPS=$(go list -f '{{.TestImports}} {{.XTestImports}}' github.com/$GITHUB_USER/$GITHUB_REPO/... | sed -e 's/\[//g' | sed -e 's/\]//g')
+TEST_DEPS=$(go list -f '{{.TestImports}} {{.XTestImports}}' github.com/ethereum/go-ethereum/... | sed -e 's/\[//g' | sed -e 's/\]//g')
if [ "$TEST_DEPS" ]; then
go get -race $TEST_DEPS
fi
-# echo Building test dependicies
-# go test -race -i github.com/$GITHUB_USER/$GITHUB_REPO/...
-# echo Running tests
-# go test -race -cpu=1,2,4 -v github.com/$GITHUB_USER/$GITHUB_REPO/...