|
|
@ -32,6 +32,7 @@ jobs: |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make install |
|
|
|
cd abci && make install |
|
|
|
- persist_to_workspace: |
|
|
|
root: /tmp/workspace |
|
|
|
paths: |
|
|
@ -46,37 +47,6 @@ jobs: |
|
|
|
paths: |
|
|
|
- /go/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
setup_abci: |
|
|
|
<<: *defaults |
|
|
|
steps: |
|
|
|
- attach_workspace: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v2-pkg-cache |
|
|
|
- restore_cache: |
|
|
|
key: v2-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- run: |
|
|
|
name: Checkout abci |
|
|
|
command: | |
|
|
|
commit=$(bash scripts/dep_utils/parse.sh abci) |
|
|
|
go get -v -u -d github.com/tendermint/abci/... |
|
|
|
cd /go/src/github.com/tendermint/abci |
|
|
|
git checkout "$commit" |
|
|
|
- run: |
|
|
|
working_directory: /go/src/github.com/tendermint/abci |
|
|
|
name: Install abci |
|
|
|
command: | |
|
|
|
set -ex |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
make get_vendor_deps |
|
|
|
make install |
|
|
|
- run: ls -lah /tmp/workspace/bin |
|
|
|
- persist_to_workspace: |
|
|
|
root: /tmp/workspace |
|
|
|
paths: |
|
|
|
- "bin/abci*" |
|
|
|
|
|
|
|
build_slate: |
|
|
|
<<: *defaults |
|
|
|
steps: |
|
|
@ -199,21 +169,18 @@ workflows: |
|
|
|
test-suite: |
|
|
|
jobs: |
|
|
|
- setup_dependencies |
|
|
|
- setup_abci: |
|
|
|
requires: |
|
|
|
- setup_dependencies |
|
|
|
- lint: |
|
|
|
requires: |
|
|
|
- setup_dependencies |
|
|
|
- test_apps: |
|
|
|
requires: |
|
|
|
- setup_abci |
|
|
|
- setup_dependencies |
|
|
|
- test_cover: |
|
|
|
requires: |
|
|
|
- setup_dependencies |
|
|
|
- test_persistence: |
|
|
|
requires: |
|
|
|
- setup_abci |
|
|
|
- setup_dependencies |
|
|
|
- test_p2p |
|
|
|
- upload_coverage: |
|
|
|
requires: |
|
|
|