added .travis.yml

This commit is contained in:
hydrabolt
2015-08-26 10:18:58 +01:00
parent b5131b55ee
commit 69f2794823
3 changed files with 8 additions and 1 deletions

3
.travis.yml Normal file
View File

@@ -0,0 +1,3 @@
language: node_js
node_js:
- "stable"

View File

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

View File

@@ -1,3 +1,7 @@
/*
*/
var Discord = require("../lib/index.js");
var Auth = require("./auth.json");
var mybot = new Discord.Client();