Test Multiple Versions of Node
CircleCI: test on node 7/8/9/10/11 in parallel. Node 7/8/9 commented out to turn off for now since CircleCI does not have an "allow_failure" mode.
MODIFY
.circleci/config.yml
.circleci/config.yml
version: 2.0
jobs:
- build:
+ build-node-11: &default
docker:
- image: circleci/node:11
steps:
@@ -27,3 +27,30 @@ jobs:
- run:
name: Test
command: npm test
+ build-node-10:
+ <<: *default
+ docker:
+ - image: circleci/node:10
+ # build-node-9:
+ # <<: *default
+ # docker:
+ # - image: circleci/node:9
+ # build-node-8:
+ # <<: *default
+ # docker:
+ # - image: circleci/node:8
+ # build-node-7:
+ # <<: *default
+ # docker:
+ # - image: circleci/node:7
+
+
+workflows:
+ version: 2
+ test-all-versions:
+ jobs:
+ # - build-node-7
+ # - build-node-8
+ # - build-node-9
+ - build-node-10
+ - build-node-11

Test Multiple Versions of Node (#76)

CircleCI: test on node 7/8/9/10/11 in parallel. Node 7/8/9 commented out to turn off for now since CircleCI does not have an "allow_failure" mode.