新增 - Travis.yml

This commit is contained in:
suwings 2018-05-30 13:00:26 +08:00
parent f6708d8a22
commit 5d8d238d40
2 changed files with 16 additions and 2 deletions

13
.travis.yml Normal file
View File

@ -0,0 +1,13 @@
language: node_js
node_js:
- "7.0"
- "8.0"
- "iojs"
sudo: true
cache:
directories:
- node_modules
before_install:
- npm i -g npm@version-number
before_script:
- npm install

View File

@ -41,9 +41,10 @@
"url": "https://github.com/Suwings/MCSManager"
},
"scripts": {
"start": "node app.js"
"start": "node app.js",
"test": "node app.js"
},
"engines": {
"node": ">=8.0"
}
}
}