add test:ci

unit-test
Pan 2018-07-17 12:36:37 +08:00
parent 828f8117e8
commit ff1e8fa30d
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
language: node_js
node_js: stable
script: npm run test
script: npm run test:ci
notifications:
email: false

View File

@ -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",