language: node_js
node_js:
  - "4"
  - "6"
  - "7"
matrix:
  include:
    - os: linux
      dist: trusty
      sudo: false
    - os: osx
      osx_image: xcode8.3
  allow_failures:
    - os: osx
      node_js: "4"

language: node_js
matrix:
  include:
    - os: linux
      dist: trusty
      sudo: false
      node_js: "4"
    - os: linux
      dist: trusty
      sudo: false
      node_js: "6"
    - os: linux
      dist: trusty
      sudo: false
      node_js: "7"
    - os: osx
      osx_image: xcode8.3
      node_js: "6"
    - os: osx
      osx_image: xcode8.3
      node_js: "7"

Move CI config to a matrix
Move CI config to a matrix
