Add COSMOS_ENABLED to ci

This commit is contained in:
Ethan Frey 2020-02-03 08:55:59 +01:00
parent 8610da30d2
commit 93d554805f

View File

@ -30,8 +30,37 @@ jobs:
- ~/.cache/yarn
- run:
command: yarn build
test:
docker:
- image: circleci/node:10
steps:
- checkout
- run:
name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: yarn install --frozen-lockfile
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- run:
command: docker pull cosmwasm/wasmd:latest
- run:
command: ./projects/scripts/cosm/start.sh
- run:
command: sleep 15
- run:
environment: COSMOS_ENABLED=1
command: yarn test
- run:
command: ./projects/scripts/cosm/stop.sh
lint:
docker:
- image: circleci/node:10