From ff1e8fa30dbd2229d982dbb404da4e229687c763 Mon Sep 17 00:00:00 2001 From: Pan Date: Tue, 17 Jul 2018 12:36:37 +0800 Subject: [PATCH] add test:ci --- .travis.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16574d9..3689491 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: node_js node_js: stable -script: npm run test +script: npm run test:ci notifications: email: false diff --git a/package.json b/package.json index 6ece5ee..eaa38e3 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "build:report": "npm_config_report=true node build/build.js", "lint": "eslint --ext .js,.vue src", "test": "jest", - "test:watch": " jest --watch" + "test:watch": " jest --watch", + "test:ci": "npm run lint && npm run test" }, "dependencies": { "axios": "0.17.1",