Skip to content

Commit

Permalink
Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nicjansma committed Mar 24, 2014
1 parent 33e0652 commit f95ab4d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: node_js
node_js:
- "0.11"
- "0.10"
before_install: npm install -g grunt-cli
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['jshint', 'uglify']);
grunt.registerTask('test', ['nodeunit']);
grunt.registerTask('lint', ['uglify']);
grunt.registerTask('travis', ['nodeunit', 'jshint']);
grunt.registerTask('all', ['nodeunit', 'jshint', 'uglify']);
};
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"grunt-contrib-nodeunit": ">0.0.0",
"grunt-contrib-uglify": ">0.0.0"
},
"scripts": {
"test": "grunt travis --verbose"
},
"dependencies": {
"crypto-js": ">= 3.1.2-1"
}
Expand Down

0 comments on commit f95ab4d

Please sign in to comment.