Skip to content

Commit

Permalink
Chore: tests on multiple node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-redFox committed Dec 27, 2017
1 parent 4bb2047 commit 415eee1
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,36 @@
workflows:
version: 2
node-multi-build:
jobs:
- node-v6
- node-v8
- node-latest

version: 2
jobs:
build:
node-base: &node-base
docker:
- image: circleci/node:8.9.1
- image: node
steps:
- checkout
- run:
name: install
name: Install dependencies
command: yarn --frozen-lockfile
- run:
name: test
name: Test
command: yarn test-ci
- run:
name: coverage
command: ./node_modules/.bin/coveralls < coverage/lcov.info
node-v6:
<<: *node-base
docker:
- image: node:6
node-v8:
<<: *node-base
docker:
- image: node:8
node-latest:
<<: *node-base
docker:
- image: node:latest

0 comments on commit 415eee1

Please sign in to comment.