Skip to content

Commit 27f75a9

Browse files
anthony-redFoxtmcw
authored andcommitted
ci: run tests on multiple node versions (#983)
1 parent f0c3227 commit 27f75a9

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

.circleci/config.yml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,36 @@
1+
workflows:
2+
version: 2
3+
node-multi-build:
4+
jobs:
5+
- node-v6
6+
- node-v8
7+
- node-latest
8+
19
version: 2
210
jobs:
3-
build:
11+
node-base: &node-base
412
docker:
5-
- image: circleci/node:8.9.1
13+
- image: node
614
steps:
715
- checkout
816
- run:
9-
name: install
17+
name: Install dependencies
1018
command: yarn --frozen-lockfile
1119
- run:
12-
name: test
20+
name: Test
1321
command: yarn test-ci
1422
- run:
1523
name: coverage
1624
command: ./node_modules/.bin/coveralls < coverage/lcov.info
25+
node-v6:
26+
<<: *node-base
27+
docker:
28+
- image: node:6
29+
node-v8:
30+
<<: *node-base
31+
docker:
32+
- image: node:8
33+
node-latest:
34+
<<: *node-base
35+
docker:
36+
- image: node:latest

0 commit comments

Comments
 (0)