-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
602 additions
and
2,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,42 @@ | ||
version: 2 | ||
jobs: | ||
restless: | ||
working_directory: ~/project/restless | ||
docker: | ||
- image: circleci/node:11.13 | ||
version: 2.1 | ||
|
||
commands: | ||
install_dependencies: | ||
steps: | ||
- checkout: | ||
path: ~/project | ||
- restore_cache: | ||
name: Restore Yarn Package Cache | ||
keys: | ||
- yarn-packages-restless-{{ checksum "yarn.lock" }} | ||
- yarn-packages-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Install Dependencies | ||
command: yarn install --frozen-lockfile | ||
- save_cache: | ||
name: Save Yarn Package Cache | ||
key: yarn-packages-restless-{{ checksum "yarn.lock" }} | ||
key: yarn-packages-{{ checksum "yarn.lock" }} | ||
paths: | ||
- ~/.cache/yarn | ||
- run: | ||
name: Run linter | ||
command: yarn lint | ||
- run: | ||
name: Build | ||
command: yarn build | ||
- run: | ||
name: Test | ||
command: yarn test | ||
|
||
ethereum: | ||
working_directory: ~/project/ethereum | ||
jobs: | ||
lint: | ||
docker: | ||
- image: circleci/node:11.13 | ||
- image: circleci/node:11.15 | ||
steps: | ||
- checkout: | ||
path: ~/project | ||
- restore_cache: | ||
name: Restore Yarn Package Cache | ||
keys: | ||
- yarn-packages-ethereum-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Install Dependencies | ||
command: yarn install --frozen-lockfile | ||
- save_cache: | ||
name: Save Yarn Package Cache | ||
key: yarn-packages-ethereum-{{ checksum "yarn.lock" }} | ||
paths: | ||
- ~/.cache/yarn | ||
- run: | ||
name: Run linter | ||
command: yarn lint | ||
- run: | ||
name: Build | ||
command: yarn build | ||
- run: | ||
name: Test | ||
command: yarn test | ||
- checkout | ||
- install_dependencies | ||
- run: yarn lint | ||
|
||
sanitizers: | ||
working_directory: ~/project/sanitizers | ||
build_and_test: | ||
docker: | ||
- image: circleci/node:11.13 | ||
- image: circleci/node:11.15 | ||
steps: | ||
- checkout: | ||
path: ~/project | ||
- restore_cache: | ||
name: Restore Yarn Package Cache | ||
keys: | ||
- yarn-packages-sanitizers-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Install Dependencies | ||
command: yarn install --frozen-lockfile | ||
- save_cache: | ||
name: Save Yarn Package Cache | ||
key: yarn-packages-sanitizers-{{ checksum "yarn.lock" }} | ||
paths: | ||
- ~/.cache/yarn | ||
- run: | ||
name: Run linter | ||
command: yarn lint | ||
- run: | ||
name: Build | ||
command: yarn build | ||
- run: | ||
name: Test | ||
command: yarn test | ||
|
||
- checkout | ||
- install_dependencies | ||
- run: yarn build | ||
- run: yarn test | ||
|
||
workflows: | ||
version: 2 | ||
build_and_test: | ||
jobs: | ||
- restless | ||
- ethereum | ||
- sanitizers | ||
- lint | ||
- build_and_test |
Oops, something went wrong.