language: node_js services: - docker node_js: - "8" stages: - Linting, Building - test cache: directories: - node_modules install: npm install env: global: - LAUNCHER=Node jobs: include: - stage: Linting and Building script: 'npm run lint' - stage: Linting and Building script: 'npm run build' - stage: test script: 'npm run test' - stage: test node_js: "10" script: 'npm run test' - stage: test node_js: "8" script: 'npm run test' - stage: test node_js: "6" script: 'npm run test' - stage: test node_js: "4" script: 'npm run test' dist: trusty