From 0238cf2c44f247c73255208c78c0099d14cde0cf Mon Sep 17 00:00:00 2001 From: harttle Date: Mon, 28 Jan 2019 15:26:40 +0800 Subject: [PATCH] fix(CI): scirpt for the first stage not defined --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8057fc5a9..61e212f76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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