language: node_js sudo: false node_js: - "6" - "5" - "4" - "4.2" script: 'if [ "${TRAVIS_NODE_VERSION}" = 6 ]; then npm test; else npm run tests-only; fi'