Skip to content

Commit 238b662

Browse files
committed
Setup for Travis CI
1 parent 97e20e4 commit 238b662

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: node_js
2+
node_js:
3+
- 0.8
4+
script: grunt ci --verbose

grunt.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*global module */
2+
module.exports = function( grunt ) {
3+
'use strict';
4+
5+
grunt.initConfig({
6+
qunit: {
7+
files: ['test.html']
8+
},
9+
jshint: {
10+
options: {
11+
boss: true,
12+
browser: true,
13+
curly: false,
14+
devel: true,
15+
eqeqeq: false,
16+
eqnull: true,
17+
expr: true,
18+
evil: true,
19+
immed: false,
20+
laxcomma: true,
21+
newcap: false,
22+
noarg: true,
23+
smarttabs: true,
24+
sub: true,
25+
undef: true
26+
}
27+
}
28+
});
29+
30+
// Travis CI task.
31+
grunt.registerTask('ci', 'qunit');
32+
};

0 commit comments

Comments
 (0)