Run localnet on every commit ensure network reaches at least 10 blocks (#2067)

This commit is contained in:
Jack Zampolin
2018-08-16 20:23:57 +02:00
committed by Christopher Goes
parent 3d50567034
commit 45bd414fc2
5 changed files with 79 additions and 12 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ ci: get_tools get_vendor_deps install test_cover test_lint test
########################################
### Build/Install
check-ledger:
check-ledger:
ifeq ($(LEDGER_ENABLED),true)
ifndef GCC
$(error "gcc not installed for ledger support, please install")
@@ -193,7 +193,7 @@ build-docker-gaiadnode:
# Run a 4-node testnet locally
localnet-start: localnet-stop
@if ! [ -f build/node0/gaiad/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/gaiad:Z tendermint/gaiadnode testnet --v 4 --o . --starting-ip-address 192.168.10.2 ; fi
docker-compose up
docker-compose up -d
# Stop testnet
localnet-stop: