sudo: required
dist: trusty
language: node_js
node_js:
  - '4.2'

before_script:
- npm install

script: npm test
sudo: required
dist: trusty
language: node_js
node_js:
  - '4.2'

before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi

install:
- npm install

before_script:

script: npm test
Install npm v3 if needed
Install npm v3 if needed
