forked from ethereumjs/helpeth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
44 lines (42 loc) · 953 Bytes
/
circle.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
workflows:
version: 2.1
node-multi-build:
jobs:
- node-v6
- node-v8
- node-v10
version: 2.1
jobs:
node-base: &node-base
working_directory: ~/solc-js
docker:
- image: circleci/node
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: test
command: npm run test
- save_cache:
key: dependency-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
paths:
- ./node_modules
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