tokenbridge/.circleci/config.yml

52 lines
1.0 KiB
YAML
Raw Normal View History

2019-05-06 16:18:40 +03:00
version: 2
jobs:
build:
docker:
- image: circleci/node:10.15
steps:
- checkout
- run: git submodule update --init
- run: yarn
- run: yarn run build
2019-05-06 16:18:40 +03:00
lint:
docker:
- image: circleci/node:10.15
steps:
- checkout
- run: git submodule update --init
2019-05-06 16:18:40 +03:00
- run: yarn
- run: yarn run lint
ansible-lint:
docker:
- image: particlekit/ansible-lint
steps:
- checkout
- run: ./deployment/lint.sh
2019-05-06 16:18:40 +03:00
test:
docker:
- image: circleci/node:10.15
environment:
HOME_RPC_URL: http://example.com
FOREIGN_RPC_URL: http://example.com
steps:
- checkout
- run: git submodule update --init
2019-05-06 16:18:40 +03:00
- run: yarn
- run: yarn run test
oracle-e2e:
docker:
- image: circleci/node:10.15
steps:
- checkout
- setup_remote_docker
- run: yarn run oracle-e2e
2019-05-06 16:18:40 +03:00
workflows:
version: 2
2019-05-06 16:25:28 +03:00
tokenbridge:
2019-05-06 16:18:40 +03:00
jobs:
- lint
- test
- ansible-lint
- oracle-e2e