run tests from bash script

This commit is contained in:
Ethan Buchman
2017-01-12 21:59:02 -05:00
parent 08f2b5bc84
commit ac443fa61f
3 changed files with 14 additions and 8 deletions

View File

@ -1,4 +1,16 @@
#! /bin/bash
cd $GOPATH/src/github.com/tendermint/go-rpc
# get deps
go get -u -t ./...
# go tests
go test --race github.com/tendermint/go-rpc/...
# integration tests
cd test
set -e
go build -o server main.go