mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
More fixes to ci config
This commit is contained in:
parent
7b1fef158c
commit
81cbc9b51f
@ -36,11 +36,13 @@ jobs:
|
||||
- image: circleci/node:10
|
||||
steps:
|
||||
- checkout
|
||||
- setup_remote_docker:
|
||||
docker_layer_caching: false
|
||||
- run:
|
||||
name: Version information
|
||||
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
|
||||
- run: # start early for less wait time below
|
||||
command: ./projects/scripts/cosm/start.sh
|
||||
command: ./project/scripts/cosm/start.sh
|
||||
background: true
|
||||
- restore_cache:
|
||||
name: Restore Yarn Package Cache
|
||||
@ -55,13 +57,13 @@ jobs:
|
||||
paths:
|
||||
- ~/.cache/yarn
|
||||
- run: # wait until cosm scripts have fully started
|
||||
command: timeout 15 bash -c "until curl -s http://localhost:1317/node_info > /dev/null; do sleep 1; done
|
||||
command: timeout 15 bash -c "until curl -s http://localhost:1317/node_info > /dev/null; do sleep 1; done"
|
||||
- run:
|
||||
environment:
|
||||
COSMOS_ENABLED: 1
|
||||
command: yarn test
|
||||
- run:
|
||||
command: ./projects/scripts/cosm/stop.sh
|
||||
command: ./project/scripts/cosm/stop.sh
|
||||
lint:
|
||||
docker:
|
||||
- image: circleci/node:10
|
||||
|
Loading…
x
Reference in New Issue
Block a user