-
Notifications
You must be signed in to change notification settings - Fork 772
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporary renaming of CircleCI config files for testing
- Loading branch information
Showing
3 changed files
with
125 additions
and
125 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,120 @@ | ||
version: 2 | ||
|
||
defaults: &defaults | ||
working_directory: ~/project/ethereumjs-vm | ||
docker: | ||
- image: circleci/node:8 | ||
restore_node_modules: &restore_node_modules | ||
restore_cache: | ||
name: Restore node_modules cache | ||
keys: | ||
- v1-node-{{ .Branch }}-{{ checksum "package.json" }} | ||
- v1-node-{{ .Branch }}- | ||
- v1-node- | ||
jobs: | ||
install: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- *restore_node_modules | ||
- run: | ||
name: npm install | ||
command: npm install | ||
- save_cache: | ||
name: Save node_modules cache | ||
key: v1-node-{{ .Branch }}-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules/ | ||
- persist_to_workspace: | ||
root: ~/project | ||
paths: | ||
- ethereumjs-vm/ | ||
lint: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
- *restore_node_modules | ||
- run: | ||
name: Lint | ||
command: npm run lint | ||
test_api: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
- *restore_node_modules | ||
- run: | ||
name: testAPI | ||
command: npm run testAPI | ||
test_gas_limit: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
- *restore_node_modules | ||
- run: | ||
name: testBlockchainBlockGasLimit | ||
command: npm run testBlockchainBlockGasLimit | ||
test_total_difficulty: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
- *restore_node_modules | ||
- run: | ||
name: testBlockchainTotalDifficulty | ||
command: npm run testBlockchainTotalDifficulty | ||
test_state_byzantium: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
- *restore_node_modules | ||
- run: | ||
name: testStateByzantium | ||
command: npm run testStateByzantium | ||
test_state_constantinople: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
- *restore_node_modules | ||
- run: | ||
name: testStateConstantinople | ||
command: npm run testStateConstantinople | ||
coveralls: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
- *restore_node_modules | ||
- run: | ||
name: coveralls | ||
command: npm run coveralls | ||
workflows: | ||
version: 2 | ||
install-lint-test: | ||
jobs: | ||
- install | ||
- lint: | ||
requires: | ||
- install | ||
- test_api: | ||
requires: | ||
- install | ||
- test_gas_limit: | ||
requires: | ||
- install | ||
- test_total_difficulty: | ||
requires: | ||
- install | ||
- test_state_byzantium: | ||
requires: | ||
- install | ||
- test_state_constantinople: | ||
requires: | ||
- install | ||
- coveralls: | ||
requires: | ||
- install |
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