nim-web3/ci-test.sh

13 lines
238 B
Bash
Raw Normal View History

2019-06-12 16:46:29 +00:00
#!/bin/sh
set -ex
nohup ganache-cli -s 0 &
nimble install -y
# Wait until ganache responds
while ! curl -X POST --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67}' localhost:8545 2>/dev/null
do
true
done
nimble test