diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..796d98f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - "0.12" diff --git a/Gruntfile.js b/Gruntfile.js index efe987c..545ef94 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -65,4 +65,8 @@ module.exports = function( grunt ) { 'usebanner' ]); -}; \ No newline at end of file + grunt.registerTask( 'test', [ + 'jshint' + ]); + +}; diff --git a/README.MD b/README.MD index 7b19cb4..c15dbcf 100644 --- a/README.MD +++ b/README.MD @@ -2,6 +2,8 @@ Angular module for the popular Packery library. +![Travis CI](https://api.travis-ci.org/sungard-labs/angular-packery.png) + #### Requirements #### diff --git a/package.json b/package.json index 3fccfb5..60852da 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "grunt-banner": "~0.2.3" }, "scripts": { - "postinstall": "bower install" + "postinstall": "bower install", + "test": "grunt test --verbose" }, "license": "MIT" }