Skip to content

Commit 59eba1c

Browse files
committed
added Travis conf file + updated tasks
1 parent 5d5ac30 commit 59eba1c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: node_js
2+
before_script:
3+
- npm install -g grunt-cli

Gruntfile.js

+3
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,7 @@ module.exports = function(grunt) {
142142
// By default, will check lint, hint, test and minify:
143143
grunt.registerTask('default', ['closureLint', 'jshint', 'qunit', 'sed', 'uglify']);
144144
grunt.registerTask('release', ['closureLint', 'jshint', 'qunit', 'sed', 'uglify', 'zip']);
145+
146+
// For travis-ci.org, only launch tests:
147+
grunt.registerTask('travis', ['qunit']);
145148
};

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@
1919
"load-grunt-tasks": "~0.2.0",
2020
"grunt-sed": "~0.1.1",
2121
"grunt-zip": "~0.12.0"
22+
},
23+
"scripts": {
24+
"test": "grunt travis"
2225
}
2326
}

0 commit comments

Comments
 (0)