File tree Expand file tree Collapse file tree 1 file changed +84
-0
lines changed Expand file tree Collapse file tree 1 file changed +84
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ defaults : &defaults
4
+ working_directory : ~/project/ethreumjs-vm
5
+ docker :
6
+ - image : circleci/node:8
7
+ restore_node_modules : &restore_node_modules
8
+ restore_cache :
9
+ name : Restore node_modules cache
10
+ keys :
11
+ - v1-node-{{ .Branch }}-{{ checksum "package.json" }}
12
+ - v1-node-{{ .Branch }}-
13
+ - v1-node-
14
+ jobs :
15
+ install :
16
+ << : *defaults
17
+ steps :
18
+ - checkout
19
+ - *restore_node_modules
20
+ - run :
21
+ name : npm install
22
+ command : npm install
23
+ - save_cache :
24
+ name : Save node_modules cache
25
+ key : v1-node-{{ .Branch }}-{{ checksum "package.json" }}
26
+ paths :
27
+ - node_modules/
28
+ - persist_to_workspace :
29
+ root : ~/project
30
+ paths :
31
+ - ethreumjs-vm/
32
+ lint :
33
+ << : *defaults
34
+ steps :
35
+ - attach_workspace :
36
+ at : ~/project
37
+ - *restore_node_modules
38
+ - run :
39
+ name : Lint
40
+ command : npm run lint
41
+ test_gas_limit :
42
+ << : *defaults
43
+ steps :
44
+ - attach_workspace :
45
+ at : ~/project
46
+ - *restore_node_modules
47
+ - run :
48
+ name : testBlockchainBlockGasLimit
49
+ command : npm run testBlockchainBlockGasLimit
50
+ test_total_difficulty :
51
+ << : *defaults
52
+ steps :
53
+ - attach_workspace :
54
+ at : ~/project
55
+ - *restore_node_modules
56
+ - run :
57
+ name : testBlockchainTotalDifficulty
58
+ command : npm run testBlockchainTotalDifficulty
59
+ test_state :
60
+ << : *defaults
61
+ steps :
62
+ - attach_workspace :
63
+ at : ~/project
64
+ - *restore_node_modules
65
+ - run :
66
+ name : testState
67
+ command : npm run testState
68
+ workflows :
69
+ version : 2
70
+ install-lint-test :
71
+ jobs :
72
+ - install
73
+ - lint :
74
+ requires :
75
+ - install
76
+ - test_gas_limit :
77
+ requires :
78
+ - install
79
+ - test_total_difficulty :
80
+ requires :
81
+ - install
82
+ - test_state :
83
+ requires :
84
+ - install
You can’t perform that action at this time.
0 commit comments