diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..87f8cd91 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - "0.10" \ No newline at end of file diff --git a/gruntfile.js b/gruntfile.js index 24ab254c..caa9324a 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -84,6 +84,6 @@ // Default task. grunt.registerTask('default', ['jshint', 'qunit', 'clean', 'concat', 'uglify']); - + grunt.registerTask('test', ['jshint', 'qunit']); }; -})(); \ No newline at end of file +})(); diff --git a/package.json b/package.json index a4ffb8fc..51dbb6cf 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,10 @@ "node": ">= 0.8.0" }, "scripts": { - "test": "grunt qunit" + "test": "grunt test --verbose" }, "devDependencies": { + "grunt-cli": "~0.1", "grunt-contrib-jshint": "~0.6.0", "grunt-contrib-qunit": "~0.2.0", "grunt-contrib-concat": "~0.3.0", @@ -16,4 +17,4 @@ "grunt-contrib-clean": "~0.4.0", "grunt": "~0.4.2" } -} \ No newline at end of file +}