diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..24ad978f --- /dev/null +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/package.json b/package.json index 4097e27d..4bc7a11c 100644 --- a/package.json +++ b/package.json @@ -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" } -} +} \ No newline at end of file