Skip to content

Commit e391799

Browse files
committed
Added the project to the travis CI
1 parent c49f221 commit e391799

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
branches:
2-
only:
3-
- master
4-
- gh-pages
5-
language: javascript
1+
language: node_js
2+
node_js:
3+
- "0.10"

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,5 @@ module.exports = function(grunt) {
150150
grunt.registerTask('test', ['karma:unit', 'test:e2e']);
151151
grunt.registerTask('server', ['connect:server']);
152152
grunt.registerTask('default', ['karma:background', 'watch']);
153-
153+
grunt.registerTask('travis', 'test');
154154
};

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,8 @@
2929
"grunt-ngmin": "latest",
3030
"karma": "latest",
3131
"karma-ng-scenario": "latest"
32+
},
33+
"scripts": {
34+
"test": "grunt travis --verbose"
3235
}
3336
}

0 commit comments

Comments
 (0)