-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.yml
72 lines (72 loc) · 1.55 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
version: 2
jobs:
test_with_node_6:
docker:
- image: circleci/node:6
steps:
- checkout
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm test
test_with_node_8:
docker:
- image: circleci/node:8
steps:
- checkout
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm test
test_with_node_9:
docker:
- image: circleci/node:9
steps:
- checkout
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm test
test_with_node_10:
docker:
- image: circleci/node:10
steps:
- checkout
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm test
- run:
name: Deploy coverage
command: bash <(curl -s https://codecov.io/bash)
test_with_node_11:
docker:
- image: circleci/node:11
steps:
- checkout
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm run test:coverage
- run:
name: Deploy coverage
command: bash <(curl -s https://codecov.io/bash)
workflows:
version: 2
test_all:
jobs:
- test_with_node_6
- test_with_node_8
- test_with_node_9
- test_with_node_10
- test_with_node_11