go-ethereum/travis.sh
2014-11-15 18:42:48 -06:00

9 lines
211 B
Bash

#!/bin/bash
set -e
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