setup travis config

This commit is contained in:
MoyuScript
2013-05-29 18:41:15 +03:00
parent 09cb244fc9
commit 2559cdafb8
4 changed files with 57 additions and 37 deletions

View File

@ -246,12 +246,18 @@
var tests = [],
outputImages = false,
results = {},
testStream = getTests("tests/cases");
results = {};
exports.tests = function() {
var testStream = getTests("tests/cases");
testStream.onValue(function(test) {
tests.push(test);
});
testStream.onEnd(runWebDriver);
};
testStream.onValue(function(test) {
tests.push(test);
});
/*
if (outputImages) {
@ -261,5 +267,4 @@
}
*/
testStream.onEnd(runWebDriver);
})();