language: node_js node_js: - "8" - "6" - "4" jobs: include: - stage: test name: 'Linting' script: npm run lint - name: 'Unit Test' script: if (( $TRAVIS_NODE_VERSION >= 6 )); then npm run unit && npm run coveralls; fi - name: 'E2E Test' script: npm run e2e - stage: build script: npm run build - stage: release if: branch = master node_js: "8" script: skip deploy: provider: script skip_cleanup: true script: npx semantic-release