Skip to content

Commit 188e1fa

Browse files
author
Manuel van Rijn
committed
travis ci integration scripts
1 parent aaf8842 commit 188e1fa

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- 0.6
4+
- 0.8
5+
- 0.9

grunt.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,6 @@ module.exports = function(grunt) {
5959
// Default task.
6060
grunt.registerTask('default', 'lint qunit concat min');
6161

62+
// Travis CI task.
63+
grunt.registerTask('travis', 'lint qunit');
6264
};

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,18 @@
2626
"url": "https://github.com/manuelvanrijn/jquery-numeric_input/blob/master/LICENSE-GPL"
2727
}
2828
],
29+
"main": "dist/jquery.numeric_input",
30+
"engines": {
31+
"node": ">=0.6"
32+
},
33+
"scripts": {
34+
"test": "grunt travis --verbose"
35+
},
2936
"dependencies": {
30-
"jquery": "~1.5"
37+
"jQuery": "~1.7.3"
38+
},
39+
"devDependencies": {
40+
"grunt": "~0.3.14"
3141
},
3242
"keywords": []
3343
}

0 commit comments

Comments
 (0)