language: node_js before_install: - if [[ `npm -v` = 5* ]]; then npm install -g npm@5.6.0; fi node_js: - "stable" - "10" - "8" - "6" - "4" script: - npm run lint - npm test