mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-29 14:11:21 +00:00
add circle.yml. disable js test
This commit is contained in:
parent
732634112b
commit
49a67aee8a
@ -1,5 +1,7 @@
|
||||
# Tendermint Socket Protocol (TMSP)
|
||||
|
||||
[](https://circleci.com/gh/tendermint/tmsp)
|
||||
|
||||
Blockchains are a system for creating shared multi-master application state.
|
||||
**TMSP** is a socket protocol enabling a blockchain consensus engine, running in one process,
|
||||
to manage a blockchain application state, running in another.
|
||||
|
24
circle.yml
Normal file
24
circle.yml
Normal file
@ -0,0 +1,24 @@
|
||||
machine:
|
||||
environment:
|
||||
GOPATH: /home/ubuntu/.go_workspace
|
||||
REPO: $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
|
||||
hosts:
|
||||
circlehost: 127.0.0.1
|
||||
localhost: 127.0.0.1
|
||||
|
||||
checkout:
|
||||
post:
|
||||
- rm -rf $REPO
|
||||
- mkdir -p $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
|
||||
- mv $HOME/$CIRCLE_PROJECT_REPONAME $REPO
|
||||
# - git submodule sync
|
||||
# - git submodule update --init # use submodules
|
||||
|
||||
dependencies:
|
||||
override:
|
||||
- "cd $REPO && go get -t ./..."
|
||||
|
||||
test:
|
||||
override:
|
||||
- "cd $REPO && go test ./..."
|
||||
- "cd $REPO && bash tests/test_counter/test.sh"
|
@ -206,13 +206,11 @@ func (cli *grpcClient) finishAsyncCall(req *types.Request, res *types.Response)
|
||||
go func() {
|
||||
// Notify reqRes listener if set
|
||||
if cb := reqres.GetCallback(); cb != nil {
|
||||
fmt.Println("CALLING reqres CB")
|
||||
cb(res)
|
||||
}
|
||||
|
||||
// Notify client listener if set
|
||||
if cli.resCb != nil {
|
||||
fmt.Println("CALLING client CB")
|
||||
cli.resCb(reqres.Request, res)
|
||||
}
|
||||
}()
|
||||
|
@ -10,4 +10,4 @@ COUNTER_APP="counter" go run test_counter.go
|
||||
COUNTER_APP="counter -tmsp=grpc" go run test_counter.go -tmsp=grpc
|
||||
|
||||
# test nodejs counter
|
||||
COUNTER_APP="node $GOPATH/src/github.com/tendermint/js-tmsp/example/app.js" go run test_counter.go
|
||||
#COUNTER_APP="node $GOPATH/src/github.com/tendermint/js-tmsp/example/app.js" go run test_counter.go
|
||||
|
Loading…
x
Reference in New Issue
Block a user