language: node_js

node_js:
  - '8'
  - '6'
  - '4'

script: npm test

notifications:
  email: false

cache: yarn

addons:
  chrome: stable

dist: trusty

before_install:
  - 'if [[ `npm -v` != 5* ]]; then npm i -g npm@^5.0.0; fi'
language: node_js

node_js:
- '8'
- '6'
- '4'

script: npm test

notifications:
  email: false

cache: yarn

addons:
  chrome: stable

dist: trusty
Revert "Force npm 5 on node 4"
Revert "Force npm 5 on node 4"

This reverts commit 50c498034fb2d70560a1134f48b4c4f2b7033309.
