plugeth/travis.sh

9 lines
211 B
Bash
Raw Normal View History

#!/bin/bash
set -e
2014-11-16 00:42:48 +00:00
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