diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..6998e3244 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - "stable" \ No newline at end of file diff --git a/package.json b/package.json index a20514ae9..07c6bec4c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A way to interface with the Discord API", "main": "./lib/index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "node test/bot.js" }, "repository": { "type": "git", diff --git a/test/bot.js b/test/bot.js index 30b8dbacb..ee15f97b5 100644 --- a/test/bot.js +++ b/test/bot.js @@ -1,3 +1,7 @@ +/* + +*/ + var Discord = require("../lib/index.js"); var Auth = require("./auth.json"); var mybot = new Discord.Client();