fix(CI): scirpt for the first stage not defined

This commit is contained in:
harttle
2019-01-28 15:26:40 +08:00
parent 601f2e48fc
commit 0238cf2c44
+2 -4
View File
@@ -6,14 +6,12 @@ node_js:
jobs:
include:
- stage: test
- name: 'Linting'
name: 'Linting'
script: npm run lint
- name: 'Unit Test'
script: if (( $TRAVIS_NODE_VERSION >= 6 )); then npm run unit; fi
script: if (( $TRAVIS_NODE_VERSION >= 6 )); then npm run unit && npm run coveralls; fi
- name: 'E2E Test'
script: npm run e2e
- name: 'Test Coverage'
script: if (( $TRAVIS_NODE_VERSION >= 6 )); then npm run coveralls; fi
- stage: build
script: npm run build