language: node_js matrix: include: - node_js: "8" env: - TARGET=test - node_js: "10" env: - TARGET=test - node_js: "12" env: - TARGET=test install: - npm install - npm install -g codecov istanbul script: - npm run $TARGET - istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --timeout 5s -R spec - codecov