Skip to content

Commit 43b70f9

Browse files
committed
Update Travis and NPM building
1 parent d317b78 commit 43b70f9

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: node_js
22
node_js:
3-
- 0.8
4-
before_install: "npm install -g yuitest"
5-
script: "ant test"
3+
- "0.8"
4+
- "0.10"
5+
before_install:
6+
- npm install -g grunt-cli

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ module.exports = function(grunt) {
156156
grunt.loadNpmTasks('grunt-contrib-watch');
157157

158158
// Default task.
159-
grunt.registerTask('default', ['test', 'uglify']);
159+
grunt.registerTask('default', ['test']);
160160

161161
grunt.registerTask('test', ['jshint', 'concat', 'yuitest']);
162162

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"bin": {
2121
"csslint": "./cli.js"
2222
},
23+
"scripts": {
24+
"test": "grunt test"
25+
},
2326
"licenses": [
2427
{
2528
"type": "MIT",

0 commit comments

Comments
 (0)