language: node_js
node_js:
  - "4"
  - "6"
  - "8"
env:
  - CC=clang CXX=clang++
  - ""
install:
  - npm install --no-package-lock --ignore-scripts
before_script:
  - tmp=$(mktemp --directory)
  - bash -O dotglob -O extglob -c 'mv !(node_modules|test) "$1"/' bash "$tmp"
  - pack=$(npm pack "$tmp")
  - tar --strip-components=1 -x -v -f "$pack"
  - npm install --no-package-lock
script:
  - node_modules/.bin/tap test
sudo: false

language: node_js
node_js:
  - "4"
  - "6"
  - "8"
  - "9"
env:
  - CC=clang CXX=clang++
  - ""
install:
  - npm install --no-package-lock --ignore-scripts
before_script:
  - tmp=$(mktemp --directory)
  - bash -O dotglob -O extglob -c 'mv !(node_modules|test) "$1"/' bash "$tmp"
  - pack=$(npm pack "$tmp")
  - tar --strip-components=1 -x -v -f "$pack"
  - npm install --no-package-lock
script:
  - node_modules/.bin/tap test
sudo: false

Add Node 9 to CI
Add Node 9 to CI
