From 22b7e55fc9f3d8c40d38c979f562ec2454668490 Mon Sep 17 00:00:00 2001 From: harttle Date: Mon, 28 Jan 2019 15:40:32 +0800 Subject: [PATCH] chore(CI): assign node_js for each script --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 61e212f76..81dd17799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,24 @@ language: node_js -node_js: - - "8" - - "6" - - "4" +node_js: "8" 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 + script: npm run unit && npm run coveralls - name: 'E2E Test' script: npm run e2e + node_js: + - "8" + - "6" + - "4" - stage: build script: npm run build - stage: release if: branch = master - node_js: "8" script: skip deploy: provider: script