Only run docker in integration with cache
This commit is contained in:
parent
dc1ef5958b
commit
c77db1a14f
2 changed files with 6 additions and 4 deletions
|
@ -3,9 +3,11 @@ language: node_js
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
before_install:
|
before_install:
|
||||||
- docker pull junderw/bitcoinjs-regtest-server
|
- if [ $TEST_SUITE = "integration" ]; then
|
||||||
- docker run -d -p 127.0.0.1:8080:8080 junderw/bitcoinjs-regtest-server
|
docker pull junderw/bitcoinjs-regtest-server &&
|
||||||
- docker ps -a
|
docker run -d -p 127.0.0.1:8080:8080 junderw/bitcoinjs-regtest-server &&
|
||||||
|
docker ps -a;
|
||||||
|
fi
|
||||||
node_js:
|
node_js:
|
||||||
- "8"
|
- "8"
|
||||||
- "lts/*"
|
- "lts/*"
|
||||||
|
|
|
@ -71,7 +71,7 @@ async function faucet (address, value) {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
await sleep(randInt(50, 150))
|
await sleep(randInt(10, 40))
|
||||||
|
|
||||||
const results = await unspents(address)
|
const results = await unspents(address)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue