---
version: 2.1

commands:
  test:
    steps:
      - run: node --version
      - run: npm --version
      - run: yarn --version
      - run: openssl version
      - checkout
      - run: yarn
      - run: yarn run test

jobs:
  node-v4: { docker: [{ image: circleci/node:4 }], steps: [ test ]}
  node-v6: { docker: [{ image: circleci/node:6 }], steps: [ test ]}
  node-v8: { docker: [{ image: circleci/node:8 }], steps: [ test ]}
  node-v9: { docker: [{ image: circleci/node:9 }], steps: [ test ]}
  node-v10: { docker: [{ image: circleci/node:10 }], steps: [ test ]}

workflows:
  test-suite:
    jobs:
      - node-v4
      - node-v6
      - node-v8
      - node-v9
      - node-v10

---
version: 2.1

commands:
  test:
    steps:
      - run: node --version
      - run: npm --version
      - run: yarn --version
      - run: openssl version
      - checkout
      - run: yarn
      - run: yarn run test

jobs:
  node-v8: { docker: [{ image: circleci/node:8 }], steps: [ test ]}
  node-v10: { docker: [{ image: circleci/node:10 }], steps: [ test ]}
  node-v12: { docker: [{ image: circleci/node:12 }], steps: [ test ]}

workflows:
  test-suite:
    jobs:
      - node-v8
      - node-v10
      - node-v12

Remove support for Node v4 and v6, add v12 to CircleCI
Remove support for Node v4 and v6, add v12 to CircleCI
