chore(CI): adjust build matrix

This commit is contained in:
harttle
2019-01-28 16:29:59 +08:00
parent 22b7e55fc9
commit 7df4d5d62c
2 changed files with 9 additions and 8 deletions
+8 -5
View File
@@ -1,24 +1,27 @@
language: node_js
node_js: "8"
node_js:
- "8"
- "6"
- "4"
jobs:
include:
- stage: test
name: 'Linting'
node_js: "8"
script: npm run lint
- name: 'Unit Test'
node_js: "8"
script: npm run unit && npm run coveralls
- name: 'E2E Test'
script: npm run e2e
node_js:
- "8"
- "6"
- "4"
- stage: build
node_js: "8"
script: npm run build
- stage: release
if: branch = master
node_js: "8"
script: skip
deploy:
provider: script