add[chore]:add travis

This commit is contained in:
Pan 2017-12-11 13:43:09 +08:00
parent 8ab770e9de
commit 5639a2a2cb
2 changed files with 5 additions and 1 deletions

3
.travis.yml Normal file
View File

@ -0,0 +1,3 @@
language: node_js
node_js: stable
script: npm run test

View File

@ -8,7 +8,8 @@
"dev": "node build/dev-server.js",
"start": "node build/dev-server.js",
"build": "node build/build.js",
"lint": "eslint --ext .js,.vue src"
"lint": "eslint --ext .js,.vue src",
"test": "npm run lint"
},
"dependencies": {
"axios": "0.17.1",