Skip to content

Commit

Permalink
Add Travis CI support.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Feb 19, 2013
1 parent 8979f1b commit 38d4312
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js
node_js:
- 0.6
- 0.8
- 0.9

9 changes: 8 additions & 1 deletion grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ module.exports = function(grunt) {
qunit: {
noWebRTC: ['test/run-TestNoWebRTC.html']
},
uglify: {}
uglify: {},
scripts: {
test: 'grunt travis --verbose'
}
});

// Default task.
Expand Down Expand Up @@ -135,4 +138,8 @@ module.exports = function(grunt) {
});
});

// Travis CI task (it does everything).
// Doc: http://manuel.manuelles.nl/blog/2012/06/22/integrate-travis-ci-into-grunt/
grunt.registerTask('travis', ['grammar', 'default', 'test']);

};

0 comments on commit 38d4312

Please sign in to comment.