Skip to content

Commit

Permalink
Temporary renaming of CircleCI config files for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerd77 committed Aug 29, 2018
1 parent 3431a07 commit 3b96373
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 125 deletions.
61 changes: 0 additions & 61 deletions .circleci/config-blockchain-tests.yml

This file was deleted.

120 changes: 120 additions & 0 deletions .circleci/config-save.yml
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
69 changes: 5 additions & 64 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,60 +38,15 @@ jobs:
- run:
name: Lint
command: npm run lint
test_api:
run_blockchain_tests:
<<: *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
name: testBlockchain
command: npm run testBlockchain
workflows:
version: 2
install-lint-test:
Expand All @@ -100,21 +55,7 @@ workflows:
- 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:
- run_blockchain_tests:
requires:
- install

0 comments on commit 3b96373

Please sign in to comment.