Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

Commit 57f8a36

Browse files
author
Cameron Cundiff
committed
Merge pull request #50 from ckundo/update-travis-config
Revise TravisCI config to use npm script
2 parents b05aafc + 2d26fa4 commit 57f8a36

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
script: grunt --verbose --force
1+
language: node_js
2+
node_js:
3+
- "0.10"
4+
notifications:
5+
email: false
6+
before_install:
7+
- npm install -g grunt-cli

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,6 @@ module.exports = function(grunt) {
7878
});
7979

8080
grunt.registerTask('default', ['save-revision', 'closurecompiler:minify', 'qunit']);
81+
grunt.registerTask('travis', ['closurecompiler:minify', 'qunit']);
8182
};
8283

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
"grunt-closurecompiler": "~0.9.5",
1111
"grunt-util-spawn": "0.0.2",
1212
"grunt-contrib-qunit": "~0.2.2"
13+
},
14+
"scripts": {
15+
"test": "grunt travis --verbose"
1316
}
1417
}

0 commit comments

Comments
 (0)