-
Notifications
You must be signed in to change notification settings - Fork 479
/
Copy pathconfig.yml
76 lines (74 loc) · 1.62 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
workflows:
version: 2.1
node-multi-build:
jobs:
- node-v8
- node-v10
- node-v12:
run_coveralls: true
- node-v14
- node-v16
version: 2.1
jobs:
node-base: &node-base
working_directory: ~/solc-js
docker:
- image: circleci/node
parameters:
run_coveralls:
type: boolean
default: false
steps:
- run:
name: Versions
command: npm version
- checkout
- restore_cache:
key: dependency-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
- run:
name: install-npm
command: npm install
- run:
name: updateBinary
command: npm run updateBinary
- run:
name: test
command: npm run test
- when:
condition: <<parameters.run_coveralls>>
steps:
- run:
name: coveralls
command: npm run coveralls
- save_cache:
key: dependency-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
paths:
- ./node_modules
node-v4:
<<: *node-base
docker:
- image: circleci/node:4
node-v6:
<<: *node-base
docker:
- image: circleci/node:6
node-v8:
<<: *node-base
docker:
- image: circleci/node:8
node-v10:
<<: *node-base
docker:
- image: circleci/node:10
node-v12:
<<: *node-base
docker:
- image: circleci/node:12
node-v14:
<<: *node-base
docker:
- image: circleci/node:14
node-v16:
<<: *node-base
docker:
- image: circleci/node:16